/*!
Theme Name: Potato Chat
Theme URI: https://potato.chat/
Author: Potato Chat Team
Author URI: https://potato.chat/
Description: Potato Chat — a futuristic Web3 glassmorphism theme for crypto, privacy and decentralized communication communities. Dark space backdrop, neon glow, floating glass cards, fully responsive with mobile-first design.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: potato-chat
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, block-styles, wide-blocks

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Potato Chat is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens (CSS Variables)
# Generic
	- Normalize
	- Box sizing
	- Reset
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Layouts
# Components
	- Skip link & accessibility
	- Buttons
	- Site header & nav
	- Hero
	- Stats
	- Features
	- Privacy / Decentralized / Community
	- Download / CTA
	- Testimonial / Community showcase
	- Footer
	- Floating cards & glassmorphism
	- Animations / Motion
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
	- Responsive helpers
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	/* Brand colors (overridable via Customizer) */
	--color-primary: #00D1B2;
	--color-primary-rgb: 0, 209, 178;
	--color-secondary: #1E293B;
	--color-secondary-rgb: 30, 41, 59;
	--color-accent: #6366F1;
	--color-accent-rgb: 99, 102, 241;

	/* Surfaces (dark space) */
	--color-bg: #06070B;
	--color-bg-2: #0B0F1A;
	--color-surface: rgba(255, 255, 255, 0.04);
	--color-surface-2: rgba(255, 255, 255, 0.07);
	--color-border: rgba(255, 255, 255, 0.10);
	--color-border-strong: rgba(255, 255, 255, 0.18);

	/* Text */
	--color-text: #E6E9F2;
	--color-text-strong: #FFFFFF;
	--color-muted: #9AA3B2;

	/* Effects */
	--gradient-neon: linear-gradient(135deg, #00D1B2 0%, #6366F1 100%);
	--gradient-glow: radial-gradient(60% 60% at 50% 0%, rgba(99,102,241,0.35) 0%, rgba(0,209,178,0.10) 40%, transparent 70%);
	--shadow-glow-primary: 0 0 0 1px rgba(0, 209, 178, 0.25), 0 12px 40px -8px rgba(0, 209, 178, 0.35);
	--shadow-glow-accent: 0 0 0 1px rgba(99, 102, 241, 0.25), 0 12px 40px -8px rgba(99, 102, 241, 0.35);
	--shadow-card: 0 16px 48px -16px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.35);
	--shadow-soft: 0 8px 24px -12px rgba(0, 0, 0, 0.5);

	/* Spacing scale (8px rhythm) */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;
	--space-8: 128px;

	/* Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;

	/* Typography */
	--font-sans: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--fs-xs: 0.8125rem;   /* 13px */
	--fs-sm: 0.875rem;    /* 14px */
	--fs-base: 1rem;      /* 16px */
	--fs-md: 1.125rem;    /* 18px */
	--fs-lg: 1.375rem;    /* 22px */
	--fs-xl: 1.75rem;     /* 28px */
	--fs-2xl: 2.25rem;    /* 36px */
	--fs-3xl: 3rem;       /* 48px */
	--fs-4xl: 3.75rem;    /* 60px */
	--fs-5xl: 4.5rem;     /* 72px */

	--lh-tight: 1.2;
	--lh-snug: 1.35;
	--lh-base: 1.6;
	--lh-loose: 1.75;

	/* Layout */
	--container-max: 1200px;
	--header-h: 72px;
	--transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
	:root {
		--fs-3xl: 2.25rem;
		--fs-4xl: 2.75rem;
		--fs-5xl: 3rem;
		--space-7: 64px;
		--space-8: 80px;
	}
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body { margin: 0; }

main { display: block; }

h1 { font-size: 2em; margin: 0.67em 0; }

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a { background-color: transparent; }

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b, strong { font-weight: bolder; }

code, kbd, samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small { font-size: 80%; }

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

img { border-style: none; }

button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button, input { overflow: visible; }

button, select { text-transform: none; }

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress { vertical-align: baseline; }

textarea { overflow: auto; }

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details { display: block; }
summary { display: list-item; }

template { display: none; }
[hidden] { display: none; }

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

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

html {
	background: var(--color-bg);
	color-scheme: dark;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-loose);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(0, 209, 178, 0.10), transparent 60%),
		radial-gradient(1000px 500px at 90% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
		radial-gradient(800px 600px at 50% 100%, rgba(99, 102, 241, 0.06), transparent 60%),
		var(--color-bg);
	background-attachment: fixed;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Subtle starfield / noise layer */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.35), transparent 50%),
		radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.20), transparent 50%),
		radial-gradient(1px 1px at 58% 32%, rgba(255,255,255,0.28), transparent 50%),
		radial-gradient(1px 1px at 75% 64%, rgba(255,255,255,0.18), transparent 50%),
		radial-gradient(1.2px 1.2px at 88% 22%, rgba(255,255,255,0.30), transparent 50%),
		radial-gradient(1px 1px at 42% 88%, rgba(255,255,255,0.20), transparent 50%);
	opacity: 0.5;
	z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: var(--color-text-strong);
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: -0.02em;
	margin: 0 0 var(--space-2);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
	margin: 0 0 var(--space-2);
	color: var(--color-muted);
	line-height: var(--lh-loose);
}

dfn, cite, em, i { font-style: italic; }

blockquote {
	margin: 0 0 var(--space-3);
	padding: var(--space-2) var(--space-3);
	border-left: 3px solid var(--color-primary);
	color: var(--color-text);
	background: var(--color-surface);
	border-radius: var(--radius-md);
}

address { margin: 0 0 var(--space-3); }

pre {
	background: var(--color-surface-2);
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	border-radius: var(--radius-md);
}

code, kbd, tt, var {
	font-family: var(--font-mono);
	font-size: 0.95em;
}

abbr, acronym {
	border-bottom: 1px dotted var(--color-border-strong);
	cursor: help;
}

mark, ins {
	background: rgba(var(--color-primary-rgb), 0.18);
	color: var(--color-text-strong);
	text-decoration: none;
	padding: 0 4px;
	border-radius: 4px;
}

big { font-size: 125%; }

/* Elements
--------------------------------------------- */
hr {
	background-color: var(--color-border);
	border: 0;
	height: 1px;
	margin: var(--space-4) 0;
}

ul, ol {
	margin: 0 0 var(--space-2) var(--space-3);
	color: var(--color-muted);
}

ul { list-style: disc; }
ol { list-style: decimal; }

li > ul, li > ol {
	margin-bottom: 0;
	margin-left: var(--space-2);
}

dt { font-weight: 700; color: var(--color-text-strong); }
dd { margin: 0 var(--space-2) var(--space-2); }

embed, iframe, object { max-width: 100%; }
img { height: auto; max-width: 100%; display: block; }
figure { margin: var(--space-2) 0; }
table { margin: 0 0 var(--space-2); width: 100%; }

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition), opacity var(--transition);
}

a:visited { color: var(--color-primary); }

a:hover, a:focus, a:active { color: var(--color-accent); }

a:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Forms
--------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font: inherit;
	transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
	width: 100%;
}

input:focus, textarea:focus, select:focus {
	color: var(--color-text-strong);
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.20);
	outline: none;
}

textarea { width: 100%; }

::placeholder { color: var(--color-muted); }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-3);
}

.wm-section {
	position: relative;
	padding: var(--space-7) 0;
	z-index: 1;
}

.wm-site {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wm-site > main { flex: 1 0 auto; }

.wm-grid {
	display: grid;
	gap: var(--space-3);
}

.wm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
	.wm-grid--3, .wm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	.wm-grid--2, .wm-grid--3, .wm-grid--4 { grid-template-columns: 1fr; }
	.wm-section { padding: var(--space-6) 0; }
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Skip link
--------------------------------------------- */
.wm-skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-2);
	background: var(--color-primary);
	color: var(--color-secondary);
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	z-index: 1000;
}
.wm-skip-link:focus { top: var(--space-2); }

/* Buttons
--------------------------------------------- */
.wm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
	white-space: nowrap;
	user-select: none;
}

.wm-btn:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.wm-btn--primary {
	background: var(--gradient-neon);
	color: #00120F;
	box-shadow: var(--shadow-glow-primary);
}
.wm-btn--primary:hover,
.wm-btn--primary:focus-visible {
	transform: translateY(-1px);
	color: #00120F;
	box-shadow: 0 0 0 1px rgba(var(--color-primary-rgb), 0.45), 0 18px 48px -10px rgba(0, 209, 178, 0.55);
}

.wm-btn--ghost {
	background: var(--color-surface);
	color: var(--color-text-strong);
	border-color: var(--color-border-strong);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.wm-btn--ghost:hover,
.wm-btn--ghost:focus-visible {
	background: var(--color-surface-2);
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.wm-btn--sm { padding: 10px 18px; font-size: var(--fs-sm); }
.wm-btn--lg { padding: 18px 32px; font-size: var(--fs-md); }
.wm-btn--block { width: 100%; }

.wm-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-primary);
	background: var(--color-primary);
	color: var(--color-secondary);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-glow-primary);
}
button:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

/* Site Header & Nav
--------------------------------------------- */
.wm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(6, 7, 11, 0.55);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid var(--color-border);
}

.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	width: 100%;
}

.wm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--color-text-strong);
	font-weight: 700;
	font-size: var(--fs-md);
	letter-spacing: -0.01em;
}

.wm-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--gradient-neon);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #00120F;
	box-shadow: var(--shadow-glow-primary);
}

.wm-brand__mark svg { width: 20px; height: 20px; }
.wm-brand img { max-height: 36px; width: auto; }

.wm-nav {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.wm-nav__menu {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.wm-nav__menu li { position: relative; }

.wm-nav__menu a {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	color: var(--color-muted);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 500;
	transition: all var(--transition);
}

.wm-nav__menu a:hover,
.wm-nav__menu a:focus-visible,
.wm-nav__menu .current-menu-item > a,
.wm-nav__menu .current_page_item > a {
	color: var(--color-text-strong);
	background: var(--color-surface);
}

.wm-nav__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text-strong);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.wm-nav__toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.wm-nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
	.wm-nav__menu { display: none; }
	.wm-nav.is-open .wm-nav__menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: absolute;
		top: calc(var(--header-h) - 4px);
		left: var(--space-2);
		right: var(--space-2);
		padding: var(--space-2);
		background: rgba(11, 15, 26, 0.92);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border: 1px solid var(--color-border);
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-card);
	}
	.wm-nav.is-open .wm-nav__menu a {
		display: block;
		padding: 14px 18px;
		border-radius: var(--radius-sm);
	}
	.wm-nav__toggle { display: inline-flex; }
	.wm-nav__cta { display: none; }
}

/* Hero
--------------------------------------------- */
.wm-hero {
	position: relative;
	padding: var(--space-7) 0 var(--space-7);
	overflow: hidden;
}

.wm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-glow);
	pointer-events: none;
	z-index: -1;
}

.wm-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: var(--space-5);
	align-items: center;
}

.wm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-primary);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--space-3);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.wm-hero__eyebrow .wm-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.25);
	animation: wm-pulse 2.2s ease-in-out infinite;
}

.wm-hero__title {
	font-size: clamp(2.5rem, 5vw, var(--fs-5xl));
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin-bottom: var(--space-3);
	background: linear-gradient(180deg, #FFFFFF 0%, #B8C0D6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wm-hero__title em {
	font-style: normal;
	background: var(--gradient-neon);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wm-hero__desc {
	font-size: var(--fs-md);
	color: var(--color-muted);
	max-width: 540px;
	margin-bottom: var(--space-4);
	line-height: var(--lh-loose);
}

.wm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
}

.wm-hero__visual {
	position: relative;
	min-height: 360px;
}

@media (max-width: 1024px) {
	.wm-hero__inner { grid-template-columns: 1fr; gap: var(--space-4); }
	.wm-hero__visual { min-height: 320px; }
}

/* Stats
--------------------------------------------- */
.wm-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-2);
	padding: var(--space-3) 0 0;
}

.wm-stat {
	text-align: left;
}

.wm-stat__num {
	font-size: var(--fs-2xl);
	font-weight: 800;
	background: var(--gradient-neon);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
	margin-bottom: 6px;
}

.wm-stat__label {
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

@media (max-width: 768px) {
	.wm-stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}

/* Section heading
--------------------------------------------- */
.wm-section__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-5);
}

.wm-section__eyebrow {
	display: inline-block;
	color: var(--color-primary);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--space-2);
}

.wm-section__title {
	font-size: clamp(2rem, 4vw, var(--fs-3xl));
	margin-bottom: var(--space-2);
}

.wm-section__desc {
	font-size: var(--fs-md);
	color: var(--color-muted);
	margin: 0;
}

/* Glass card / floating card
--------------------------------------------- */
.wm-card {
	position: relative;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
	overflow: hidden;
}

.wm-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 50%);
	pointer-events: none;
}

.wm-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-border-strong);
	box-shadow: var(--shadow-card), 0 0 0 1px rgba(var(--color-primary-rgb), 0.15);
}

.wm-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	color: var(--color-primary);
	margin-bottom: var(--space-2);
}

.wm-card__icon svg { width: 24px; height: 24px; }

.wm-card__title {
	font-size: var(--fs-lg);
	margin-bottom: 8px;
	color: var(--color-text-strong);
}

.wm-card__desc {
	font-size: var(--fs-sm);
	color: var(--color-muted);
	margin: 0;
	line-height: var(--lh-loose);
}

.wm-card--accent .wm-card__icon { color: var(--color-accent); }
.wm-card--accent:hover { box-shadow: var(--shadow-card), 0 0 0 1px rgba(var(--color-accent-rgb), 0.30); }

.wm-card--feature { padding: var(--space-4); }

/* Features (Product intro / Privacy / Decentralized)
--------------------------------------------- */
.wm-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-5);
	align-items: center;
	padding: var(--space-5) 0;
}

.wm-feature--reverse .wm-feature__media { order: 2; }
.wm-feature--reverse .wm-feature__body { order: 1; }

.wm-feature__title { font-size: var(--fs-2xl); margin-bottom: var(--space-2); }
.wm-feature__desc { color: var(--color-muted); font-size: var(--fs-md); margin-bottom: var(--space-3); }

.wm-feature__list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-3);
	display: grid;
	gap: var(--space-2);
}

.wm-feature__list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--color-text);
	font-size: var(--fs-sm);
}

.wm-feature__list li svg {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

.wm-feature__media {
	position: relative;
	min-height: 320px;
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.18), rgba(var(--color-accent-rgb), 0.18)),
		var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.wm-feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-glow);
	opacity: 0.6;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.wm-feature { grid-template-columns: 1fr; gap: var(--space-4); }
	.wm-feature--reverse .wm-feature__media { order: 1; }
	.wm-feature--reverse .wm-feature__body { order: 2; }
	.wm-feature__media { min-height: 240px; }
}

/* Community / Testimonials
--------------------------------------------- */
.wm-community {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}

.wm-testimonial {
	padding: var(--space-3);
}

.wm-testimonial__quote {
	font-size: var(--fs-md);
	color: var(--color-text);
	line-height: var(--lh-loose);
	margin-bottom: var(--space-3);
}

.wm-testimonial__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wm-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gradient-neon);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #00120F;
	font-weight: 700;
	font-size: var(--fs-sm);
	flex-shrink: 0;
	box-shadow: var(--shadow-glow-primary);
}

.wm-testimonial__name { font-size: var(--fs-sm); color: var(--color-text-strong); font-weight: 600; }
.wm-testimonial__role { font-size: var(--fs-xs); color: var(--color-muted); }

@media (max-width: 1024px) { .wm-community { grid-template-columns: 1fr; } }

/* Download / CTA
--------------------------------------------- */
.wm-download {
	position: relative;
	padding: var(--space-5);
	text-align: center;
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12), rgba(var(--color-accent-rgb), 0.12)),
		var(--color-surface);
	border: 1px solid var(--color-border-strong);
	box-shadow: var(--shadow-card);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	overflow: hidden;
}

.wm-download::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-glow);
	opacity: 0.7;
	pointer-events: none;
}

.wm-download__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.wm-download__title { font-size: clamp(1.75rem, 3.5vw, var(--fs-3xl)); margin-bottom: var(--space-2); }
.wm-download__desc { color: var(--color-muted); font-size: var(--fs-md); margin-bottom: var(--space-4); }

.wm-download__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: center;
}

.wm-platform {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.wm-platform__name { font-size: var(--fs-xs); color: var(--color-muted); margin-top: 6px; }

/* Footer
--------------------------------------------- */
.wm-footer {
	position: relative;
	padding: var(--space-6) 0 var(--space-4);
	background: rgba(6, 7, 11, 0.6);
	border-top: 1px solid var(--color-border);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	margin-top: var(--space-7);
}

.wm-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}

.wm-footer__col h4 {
	color: var(--color-text-strong);
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: var(--space-2);
}

.wm-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wm-footer__col a { color: var(--color-muted); font-size: var(--fs-sm); }
.wm-footer__col a:hover, .wm-footer__col a:focus-visible { color: var(--color-primary); }

.wm-footer__about { color: var(--color-muted); font-size: var(--fs-sm); max-width: 320px; margin: var(--space-2) 0; }

.wm-socials {
	display: flex;
	gap: 8px;
	margin-top: var(--space-2);
}

.wm-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	transition: all var(--transition);
}
.wm-socials a:hover, .wm-socials a:focus-visible {
	color: var(--color-primary);
	border-color: var(--color-primary);
	background: var(--color-surface-2);
	transform: translateY(-2px);
}
.wm-socials svg { width: 18px; height: 18px; }

.wm-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding-top: var(--space-3);
	border-top: 1px solid var(--color-border);
	color: var(--color-muted);
	font-size: var(--fs-xs);
}

.wm-footer__bottom a { color: var(--color-muted); }
.wm-footer__bottom a:hover { color: var(--color-primary); }

@media (max-width: 1024px) {
	.wm-footer__grid { grid-template-columns: 1fr 1fr; }
}

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

/* Posts and pages
--------------------------------------------- */
.sticky { display: block; }

.post, .page { margin: 0 0 var(--space-3); }

.updated:not(.published) { display: none; }

.page-content, .entry-content, .entry-summary { margin: var(--space-2) 0 0; }

.page-links { clear: both; margin: 0 0 var(--space-2); }

.entry-header { margin-bottom: var(--space-3); }
.entry-title { font-size: var(--fs-2xl); margin-bottom: var(--space-1); }
.entry-title a { color: var(--color-text-strong); }
.entry-title a:hover { color: var(--color-primary); }
.entry-meta { color: var(--color-muted); font-size: var(--fs-sm); }

.post-thumbnail {
	margin: 0 0 var(--space-3);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
}

.entry-footer { margin-top: var(--space-3); color: var(--color-muted); font-size: var(--fs-sm); }

/* Comments
--------------------------------------------- */
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }
.comments-area {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	margin-top: var(--space-4);
}
.comments-title { color: var(--color-text-strong); }
.comment-list { list-style: none; padding: 0; margin: 0; }

/* Widgets
--------------------------------------------- */
.widget { margin: 0 0 var(--space-3); }
.widget select { max-width: 100%; }
.widget-title { color: var(--color-text-strong); }

.widget-area {
	padding: var(--space-3);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link { display: inline-block; }
.custom-logo-link img { max-height: 36px; width: auto; }

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: var(--space-2);
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 0.5em 0; }
.wp-caption-text { text-align: center; color: var(--color-muted); font-size: var(--fs-sm); }

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: var(--space-3);
	display: grid;
	grid-gap: var(--space-2);
	grid-template-columns: repeat(3, 1fr);
}
.gallery-item { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .wm-footer { display: none; }
.infinity-end.neverending .wm-footer { display: block; }

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-surface-2);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-text-strong);
	display: block;
	font-size: var(--fs-sm);
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus { outline: 0; }

/* Alignments
--------------------------------------------- */
.alignleft { float: left; margin-right: var(--space-2); margin-bottom: var(--space-2); }
.alignright { float: right; margin-left: var(--space-2); margin-bottom: var(--space-2); }
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--space-2);
}

/* Animations
--------------------------------------------- */
@keyframes wm-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.25); }
	50% { box-shadow: 0 0 0 8px rgba(var(--color-primary-rgb), 0.10); }
}

@keyframes wm-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

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

.wm-float { animation: wm-float 6s ease-in-out infinite; }
.wm-fade-up { animation: wm-fade-up 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/*--------------------------------------------------------------
# Site overrides (default _s selectors → Web3 theme)
--------------------------------------------------------------*/
.site-header { background: transparent; }
.site-title, .site-description { color: var(--color-text-strong); }
.site-title a { color: var(--color-text-strong); text-decoration: none; }
.site-title a:hover { color: var(--color-primary); }
.site-description { color: var(--color-muted); }

.main-navigation.toggled ul { background: var(--color-surface-2); }
