/* ==========================================================================
   Viper Playbook — main stylesheet
   Black & gold design system
   ========================================================================== */

/* Self-hosted variable fonts (SIL Open Font License) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
	--bg: #0a0a0a;
	--bg-2: #0e0e0e;
	--surface: #131313;
	--surface-2: #1a1a1a;
	--surface-3: #222;
	--line: rgba(212, 175, 55, .22);
	--line-soft: rgba(255, 255, 255, .08);
	--gold: #d4af37;
	--gold-lt: #f3d98b;
	--gold-dk: #9c7a1e;
	--gold-grad: linear-gradient(135deg, #f7e196 0%, #d4af37 48%, #a8801f 100%);
	--gold-grad-soft: linear-gradient(135deg, rgba(247, 225, 150, .16), rgba(212, 175, 55, .05));
	--text: #ece8df;
	--muted: #9b968b;
	--success: #6fcf97;
	--error: #ef6b6b;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
	--glow: 0 0 0 1px rgba(212, 175, 55, .35), 0 12px 40px -12px rgba(212, 175, 55, .45);
	--font-head: "Outfit", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--container: 1180px;
	--header-h: 84px;

	/* Paid Memberships Pro 3.x design tokens */
	--pmpro--color--base: var(--surface);
	--pmpro--color--base-2: var(--surface-2);
	--pmpro--color--contrast: var(--text);
	--pmpro--color--accent: var(--gold);
	--pmpro--color--accent--variation: var(--gold-lt);
	--pmpro--color--border--variation: rgba(255, 255, 255, .12);
	--pmpro--color--info-background: rgba(212, 175, 55, .08);
	--pmpro--color--info-border: rgba(212, 175, 55, .35);
	--pmpro--color--info-text: var(--gold-lt);
	--pmpro--color--success-background: rgba(111, 207, 151, .08);
	--pmpro--color--success-border: rgba(111, 207, 151, .35);
	--pmpro--color--success-text: var(--success);
	--pmpro--color--error-background: rgba(239, 107, 107, .08);
	--pmpro--color--error-border: rgba(239, 107, 107, .35);
	--pmpro--color--error-text: var(--error);
	--pmpro--color--alert-background: rgba(212, 175, 55, .08);
	--pmpro--color--alert-border: rgba(212, 175, 55, .35);
	--pmpro--color--alert-text: var(--gold-lt);
	--pmpro--border--radius: var(--radius-sm);
	--pmpro--box-shadow: none;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body::before { /* subtle film grain */
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	color: #fff;
}
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 12px; left: 12px; padding: 10px 16px; background: var(--gold); color: #000; border-radius: 8px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.container--mid { max-width: 960px; }
.text-gold {
	background: var(--gold-grad);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.muted { color: var(--muted); }

/* ---------- Icons ---------- */
.viper-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn,
.entry-content .wp-block-button__link,
.pmpro-panel .pmpro_btn,
.pmpro-panel input[type="submit"],
.pmpro-panel button[type="submit"],
.entry-content input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .01em;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform .2s, box-shadow .25s, background-color .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold,
.entry-content .wp-block-button__link,
.pmpro-panel .pmpro_btn:not(.pmpro_btn-cancel):not(.pmpro_btn-outline),
.pmpro-panel input[type="submit"],
.pmpro-panel button[type="submit"],
.entry-content input[type="submit"] {
	background: var(--gold-grad);
	color: #0a0a0a;
	box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold:hover,
.entry-content .wp-block-button__link:hover,
.pmpro-panel .pmpro_btn:not(.pmpro_btn-cancel):not(.pmpro_btn-outline):hover,
.pmpro-panel input[type="submit"]:hover,
.pmpro-panel button[type="submit"]:hover {
	color: #000;
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -12px rgba(212, 175, 55, .85), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--ghost,
.pmpro-panel .pmpro_btn-cancel,
.pmpro-panel .pmpro_btn-outline {
	background: rgba(255, 255, 255, .02);
	color: var(--text);
	border-color: rgba(212, 175, 55, .4);
}
.btn--ghost:hover,
.pmpro-panel .pmpro_btn-cancel:hover,
.pmpro-panel .pmpro_btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); background: rgba(212, 175, 55, .06); }
.btn--link { color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn--link:hover { color: var(--gold-lt); }
.btn .viper-icon--arrow { transition: transform .2s; }
.btn:hover .viper-icon--arrow { transform: translateX(3px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}
.eyebrow__dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(212, 175, 55, .18), 0 0 14px var(--gold);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(212, 175, 55, .05), 0 0 20px var(--gold); } }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: rgba(10, 10, 10, .72);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 10, .9); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.viper-logo { display: inline-flex; align-items: center; }
.viper-logo__img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.viper-nav__list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.viper-nav__list a {
	color: var(--text);
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 500;
	opacity: .8;
	position: relative;
}
.viper-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
	background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.viper-nav__list a:hover, .viper-nav__list .current-menu-item a { opacity: 1; color: var(--gold-lt); }
.viper-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__actions { display: flex; gap: 10px; }
.nav-toggle {
	display: none;
	background: none; border: 1px solid var(--line); color: var(--gold);
	width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle .viper-icon--close { display: none; }
.nav-open .nav-toggle .viper-icon--close { display: block; }
.nav-open .nav-toggle .viper-icon--menu { display: none; }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 24px;
		background: rgba(10, 10, 10, .97);
		border-bottom: 1px solid var(--line);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s, transform .25s, visibility .25s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
	.viper-nav__list { flex-direction: column; gap: 14px; }
	.site-nav__actions { flex-direction: column; }
	.site-nav__actions .btn { width: 100%; }
	.viper-logo__img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex;
	align-items: center;
	padding: 80px 0 100px;
	overflow: hidden;
	isolation: isolate;
}
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center right;
	opacity: .55;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero__glow {
	position: absolute; z-index: -1;
	width: 900px; height: 900px; right: -200px; top: -250px;
	background: radial-gradient(closest-side, rgba(212, 175, 55, .20), transparent 70%);
	filter: blur(10px);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, var(--bg) 20%, rgba(10, 10, 10, .6) 55%, transparent);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero__title {
	font-size: clamp(44px, 7vw, 88px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: .98;
	margin-bottom: 26px;
	background: linear-gradient(180deg, #fff 30%, #d8cfb8);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { font-size: clamp(17px, 1.6vw, 19px); color: #bdb7aa; max-width: 540px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__actions--center { justify-content: center; }
.hero__price { margin: 18px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* Playbook "book" visual */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.book {
	position: relative;
	width: min(340px, 78vw);
	aspect-ratio: 3 / 4.1;
	transform: rotateY(-18deg) rotateX(6deg);
	transform-style: preserve-3d;
	animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotateY(-14deg) rotateX(4deg) translateY(-12px); } }
.book__pages {
	position: absolute; inset: 6px -10px 6px 10px;
	background: repeating-linear-gradient(90deg, #d9d2bf 0 1px, #efe9d8 1px 3px);
	border-radius: 4px 10px 10px 4px;
	transform: translateZ(-16px);
	box-shadow: var(--shadow);
}
.book__cover {
	position: absolute; inset: 0;
	border-radius: 6px 12px 12px 6px;
	background:
		radial-gradient(120% 80% at 70% 0%, rgba(212, 175, 55, .18), transparent 60%),
		linear-gradient(160deg, #1b1b1b, #070707 70%);
	border: 1px solid rgba(212, 175, 55, .45);
	box-shadow: var(--shadow), inset 8px 0 14px -6px rgba(0, 0, 0, .9), inset 0 0 0 6px #0b0b0b, inset 0 0 0 7px rgba(212, 175, 55, .35);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	padding: 36px 28px;
	overflow: hidden;
}
.book__cover::after { /* sheen */
	content: ""; position: absolute; inset: -40%;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 240, 200, .10) 50%, transparent 60%);
	animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 20% { transform: translateX(-40%); } 60%, 100% { transform: translateX(40%); } }
.book__mark { width: 92px; margin: 10px auto 18px; filter: drop-shadow(0 6px 18px rgba(212, 175, 55, .35)); }
.book__kicker { font-family: var(--font-head); font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.book__title {
	font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: .95; letter-spacing: .02em; text-transform: uppercase;
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.book__edition {
	margin-top: 22px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
	color: var(--gold-lt); border: 1px solid rgba(212, 175, 55, .4); padding: 6px 12px; border-radius: 999px;
}
.book__rule { width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-bottom: auto; }
.book__rule--bottom { margin: auto 0 0; }

.ticker {
	margin-top: 38px;
	display: flex; align-items: center; gap: 16px;
	padding: 12px 18px;
	border: 1px solid var(--line); border-radius: 999px;
	background: rgba(19, 19, 19, .75);
	backdrop-filter: blur(8px);
	font-family: var(--font-head); font-size: 13px;
}
.ticker__pair { color: #fff; font-weight: 600; letter-spacing: .06em; }
.ticker__bar { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.ticker__bar i { width: 4px; background: var(--gold); border-radius: 1px; animation: bar 1.6s ease-in-out infinite; }
.ticker__bar i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.ticker__bar i:nth-child(2) { height: 70%; animation-delay: -.5s; }
.ticker__bar i:nth-child(3) { height: 50%; animation-delay: -.9s; }
.ticker__bar i:nth-child(4) { height: 90%; animation-delay: -.3s; }
.ticker__bar i:nth-child(5) { height: 60%; animation-delay: -1.1s; }
.ticker__bar i:nth-child(6) { height: 100%; animation-delay: -.7s; }
.ticker__bar i:nth-child(7) { height: 75%; animation-delay: -1.4s; }
@keyframes bar { 50% { transform: scaleY(.55); } }
.ticker__bar i { transform-origin: bottom; }
.ticker__tag { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); padding-left: 16px; border-left: 1px solid var(--line-soft); }

@media (max-width: 960px) {
	.hero { min-height: 0; padding: 60px 0 80px; }
	.hero__inner { grid-template-columns: 1fr; gap: 56px; }
	.hero::after { background: linear-gradient(180deg, rgba(10, 10, 10, .4), var(--bg) 90%); }
	.hero__visual { order: -1; }
	.book { width: min(250px, 64vw); }
	.book__title { font-size: 30px; }
	.book__mark { width: 70px; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 40px 0 110px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section__title { font-size: clamp(32px, 4.4vw, 52px); }

/* Steps */
.steps { border-top: 1px solid var(--line-soft); }
.steps__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	counter-reset: none;
	position: relative;
}
.steps__list::before {
	content: ""; position: absolute; top: 62px; left: 16%; right: 16%; height: 1px;
	background: linear-gradient(90deg, transparent, var(--line), var(--gold), var(--line), transparent);
}
.step {
	position: relative;
	padding: 36px 32px 34px;
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line); transform: translateY(-4px); }
.step__num {
	position: absolute; top: 24px; right: 26px;
	font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1;
	color: rgba(212, 175, 55, .16); letter-spacing: -.02em;
}
.step__icon {
	position: relative; z-index: 1;
	width: 54px; height: 54px; border-radius: 14px;
	display: grid; place-items: center;
	background: #0b0b0b;
	border: 1px solid var(--line);
	color: var(--gold);
	margin-bottom: 26px;
	box-shadow: 0 0 30px -8px rgba(212, 175, 55, .45);
}
.step__icon .viper-icon { width: 24px; height: 24px; }
.step__title { font-size: 22px; margin-bottom: 10px; }
.step__text { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
	.steps__list { grid-template-columns: 1fr; }
	.steps__list::before { display: none; }
}

/* Perks */
.perks { padding: 0 0 110px; }
.perks__grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line-soft); border-radius: var(--radius);
	background: var(--bg-2);
}
.perk { display: flex; gap: 18px; padding: 34px 32px; }
.perk + .perk { border-left: 1px solid var(--line-soft); }
.perk > .viper-icon { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.perk h3 { font-size: 18px; margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) {
	.perks__grid { grid-template-columns: 1fr; }
	.perk + .perk { border-left: 0; border-top: 1px solid var(--line-soft); }
}

/* CTA band */
.cta-band { padding-top: 0; }
.cta-band__inner {
	position: relative;
	text-align: center;
	padding: 80px 32px;
	border-radius: 24px;
	border: 1px solid var(--line);
	background:
		radial-gradient(60% 120% at 50% 0%, rgba(212, 175, 55, .16), transparent 70%),
		linear-gradient(180deg, #141414, #0b0b0b);
	overflow: hidden;
}
.cta-band__inner::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(212, 175, 55, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .06) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(closest-side, #000, transparent);
	mask-image: radial-gradient(closest-side, #000, transparent);
	pointer-events: none;
}
.cta-band__mark { width: 72px; margin: 0 auto 22px; position: relative; }
.cta-band__title { font-size: clamp(30px, 4vw, 48px); position: relative; }
.cta-band__text { color: var(--muted); max-width: 520px; margin: 0 auto 34px; position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	padding: 90px 0 30px;
	position: relative;
	background: radial-gradient(60% 100% at 50% 0%, rgba(212, 175, 55, .10), transparent 70%);
}
.page-hero__title { font-size: clamp(34px, 5vw, 56px); margin-bottom: 10px; }

/* ---------- Auth (login / 404) ---------- */
.auth {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex; align-items: center;
	padding: 60px 0;
	overflow: hidden;
	isolation: isolate;
}
.auth__bg {
	position: absolute; inset: 0; z-index: -1;
	background-size: cover; background-position: center;
	opacity: .28;
	-webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, #000 75%);
	mask-image: radial-gradient(ellipse at center, transparent 20%, #000 75%);
}
.auth__inner { display: flex; justify-content: center; }
.auth__card {
	width: 100%; max-width: 460px;
	padding: 44px 40px 36px;
	background: linear-gradient(180deg, rgba(24, 24, 24, .92), rgba(12, 12, 12, .96));
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow), 0 0 80px -30px rgba(212, 175, 55, .35);
	backdrop-filter: blur(10px);
}
.auth__card--center { text-align: center; max-width: 560px; }
.auth__head { text-align: center; margin-bottom: 28px; }
.auth__mark { width: 58px; margin: 0 auto 16px; }
.auth__title { font-size: 30px; margin-bottom: 6px; }
.auth__sub { color: var(--muted); margin: 0; }
.auth__form { display: grid; gap: 18px; }
.auth__foot {
	margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft);
	display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted);
}
.error-code {
	font-family: var(--font-head); font-size: 110px; font-weight: 700; line-height: 1; margin: 0 0 10px;
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 520px) { .auth__card { padding: 34px 22px 28px; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.field__link { font-size: 13px; }
.field label, .check span { font-size: 14px; font-weight: 500; color: #d7d2c6; }
.field__pw { position: relative; }
.field__pw input { padding-right: 70px; }
.field__reveal {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	background: none; border: 0; color: var(--gold); font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
input[type="url"], input[type="search"], input[type="date"], select, textarea {
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: var(--text);
	background: #0b0b0b;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d4af37' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
input:hover, select:hover, textarea:hover { border-color: rgba(212, 175, 55, .35); }
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--gold); background: #0d0d0d;
	box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}
input::placeholder, textarea::placeholder { color: #5f5b53; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #0b0b0b inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 17px; height: 17px; }

/* Alerts */
.alert {
	padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px;
	font-size: 14px; border: 1px solid; line-height: 1.5;
}
.alert--error { color: #f7b0b0; border-color: rgba(239, 107, 107, .4); background: rgba(239, 107, 107, .08); }
.alert--success { color: #b7ecc9; border-color: rgba(111, 207, 151, .4); background: rgba(111, 207, 151, .08); }
.alert--info { color: var(--gold-lt); border-color: var(--line); background: rgba(212, 175, 55, .07); }

/* ---------- Dashboard ---------- */
.dash { padding: 70px 0 110px; background: radial-gradient(60% 50% at 80% 0%, rgba(212, 175, 55, .08), transparent 70%); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.dash__title { font-size: clamp(32px, 4.4vw, 50px); margin: 0; }
.dash__grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; align-items: start; }
.dash__extra { margin-top: 24px; }
.dash__risk { margin-top: 36px; font-size: 13px; text-align: center; }
@media (max-width: 900px) { .dash__grid { grid-template-columns: 1fr; } }

.status {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
	font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase;
	border: 1px solid;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status--on { color: var(--gold); border-color: var(--line); background: rgba(212, 175, 55, .07); }
.status--off { color: var(--muted); border-color: var(--line-soft); }

.panel {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line-soft);
	border-radius: 20px;
	padding: 32px;
}
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 20px; }
.panel__title .viper-icon { color: var(--gold); }
.panel--feature {
	border-color: var(--line);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(212, 175, 55, .12), transparent 60%),
		linear-gradient(180deg, #161616, #0c0c0c);
	padding: 40px;
	position: relative;
	overflow: hidden;
}
.panel--empty, .panel--locked { text-align: center; padding: 56px 40px; }
.panel--empty h2, .panel--locked h2 { font-size: 26px; }
.panel--locked .muted, .panel--empty .muted { max-width: 460px; margin: 0 auto 26px; }
.panel__icon {
	width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 18px;
	display: grid; place-items: center; color: var(--gold);
	border: 1px solid var(--line); background: #0b0b0b;
	box-shadow: 0 0 40px -10px rgba(212, 175, 55, .5);
}
.panel__icon .viper-icon { width: 30px; height: 30px; }

.doc { display: flex; gap: 28px; align-items: flex-start; }
.doc__thumb {
	flex: none;
	width: 120px; aspect-ratio: 3 / 4;
	border-radius: 6px 10px 10px 6px;
	border: 1px solid rgba(212, 175, 55, .45);
	background: linear-gradient(160deg, #1d1d1d, #070707);
	box-shadow: 0 20px 40px -18px #000, inset 0 0 0 4px #0b0b0b, inset 0 0 0 5px rgba(212, 175, 55, .3);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.doc__thumb img { width: 54px; }
.doc__thumb span { font-family: var(--font-head); font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.doc__body .eyebrow { margin-bottom: 10px; }
.doc__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.doc__meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc__meta li {
	font-size: 13px; color: #cfc9bb; padding: 5px 12px;
	border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255, 255, 255, .02);
}
.doc__notes { font-size: 14px; color: var(--muted); margin: 0; }
.doc__notes strong { color: var(--text); }
.doc__actions { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.badge {
	font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	color: #0a0a0a; background: var(--gold-grad); padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 560px) {
	.panel, .panel--feature { padding: 26px 22px; }
	.doc { flex-direction: column; gap: 20px; }
	.doc__thumb { width: 92px; }
	.doc__actions .btn { width: 100%; }
}

.kv { margin: 0 0 24px; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: #fff; font-weight: 500; text-align: right; word-break: break-word; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.links a {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 12px; margin: 0 -12px; border-radius: 10px;
	color: var(--text); font-size: 14px; font-weight: 500;
	transition: background-color .2s, color .2s;
}
.links a .viper-icon { color: var(--gold); }
.links a:hover { background: rgba(212, 175, 55, .07); color: var(--gold-lt); }

/* ---------- Entry content (pages, legal) ---------- */
.entry-content { font-size: 17px; color: #cdc8bc; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.8em; }
.entry-content h3 { font-size: 22px; margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(212, 175, 55, .4); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--gold); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li::marker { color: var(--gold); }
.entry-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--gold); color: #fff; font-size: 1.1em; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.entry-content th { color: #fff; font-family: var(--font-head); font-weight: 600; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-thumb { width: 100%; margin-bottom: 30px; }
.legal h2 { font-size: 22px; padding-top: 1.2em; border-top: 1px solid var(--line-soft); }
.legal h2:first-of-type { border-top: 0; }
.viper-placeholder {
	padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius-sm);
	background: rgba(212, 175, 55, .05); color: var(--gold-lt); font-size: 14px;
}
.post-card { margin-bottom: 20px; }
.post-card__title { font-size: 24px; }
.post-card__title a { color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 8px; color: var(--text); }
.nav-links .current { border-color: var(--gold); color: var(--gold); }

/* ---------- Paid Memberships Pro ---------- */
.pmpro-panel { padding: 40px; font-size: 15px; }
@media (max-width: 560px) { .pmpro-panel { padding: 24px 18px; } }
.pmpro-panel .pmpro,
.pmpro-panel .pmpro_section,
.pmpro-panel .pmpro_card { color: var(--text); }
.pmpro-panel .pmpro_card,
.pmpro-panel .pmpro_box,
.pmpro-panel .pmpro_checkout-fields {
	background: #0e0e0e;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	box-shadow: none;
}
.pmpro-panel .pmpro_card { margin-bottom: 22px; }
.pmpro-panel .pmpro_card_title,
.pmpro-panel .pmpro_form_heading,
.pmpro-panel .pmpro_form_legend,
.pmpro-panel h2, .pmpro-panel h3 {
	font-family: var(--font-head); color: #fff; letter-spacing: -.01em;
}
.pmpro-panel .pmpro_card_title,
.pmpro-panel .pmpro_form_heading { font-size: 20px; }
.pmpro-panel .pmpro_card_actions {
	border-top: 1px solid var(--line-soft);
	background: rgba(255, 255, 255, .015);
}
.pmpro-panel .pmpro_card_actions a { color: var(--gold); }
.pmpro-panel .pmpro_form_fieldset,
.pmpro-panel fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.pmpro-panel .pmpro_form_label,
.pmpro-panel label { color: #d7d2c6; font-size: 14px; font-weight: 500; }
.pmpro-panel .pmpro_form_field { margin-bottom: 16px; }
.pmpro-panel .pmpro_form_input,
.pmpro-panel input.input,
.pmpro-panel .StripeElement,
.pmpro-panel #payment-element {
	background: #0b0b0b !important;
	border: 1px solid rgba(255, 255, 255, .12) !important;
	border-radius: var(--radius-sm) !important;
	color: var(--text) !important;
	padding: 14px 16px;
	width: 100%;
}
.pmpro-panel .pmpro_form_input:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 4px rgba(212, 175, 55, .14) !important; }
.pmpro-panel .pmpro_asterisk abbr { color: var(--gold); text-decoration: none; border: 0; }
.pmpro-panel .pmpro_level-price,
.pmpro-panel .pmpro_level-name,
.pmpro-panel strong { color: #fff; }
.pmpro-panel .pmpro_level_price,
.pmpro-panel .pmpro_level-price { color: var(--gold-lt); }
.pmpro-panel .pmpro_message {
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	font-size: 14px;
	border-width: 1px;
}
.pmpro-panel .pmpro_error { color: #f7b0b0; background: rgba(239, 107, 107, .08); border-color: rgba(239, 107, 107, .4); }
.pmpro-panel .pmpro_success { color: #b7ecc9; background: rgba(111, 207, 151, .08); border-color: rgba(111, 207, 151, .4); }
.pmpro-panel .pmpro_alert, .pmpro-panel .pmpro_message:not(.pmpro_error):not(.pmpro_success) { color: var(--gold-lt); background: rgba(212, 175, 55, .07); border-color: var(--line); }
.pmpro-panel table,
.pmpro-panel .pmpro_table { width: 100%; border-collapse: collapse; background: transparent; }
.pmpro-panel th, .pmpro-panel td,
.pmpro-panel .pmpro_table th, .pmpro-panel .pmpro_table td {
	border: 0; border-bottom: 1px solid var(--line-soft);
	padding: 14px 12px; text-align: left; background: transparent; color: var(--text);
}
.pmpro-panel thead th { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.pmpro-panel .pmpro_list, .pmpro-panel ul { color: var(--text); }
.pmpro-panel .pmpro_list_item_label { color: var(--muted); }
.pmpro-panel .pmpro_tag-success, .pmpro-panel .pmpro_tag { background: rgba(212, 175, 55, .12); color: var(--gold-lt); border: 1px solid var(--line); border-radius: 999px; }
.pmpro-panel hr { border: 0; height: 1px; background: var(--line-soft); }
.pmpro-panel .pmpro_submit, .pmpro-panel .pmpro_form_submit { margin-top: 24px; }
.pmpro-panel #pmpro_levels_table tr.pmpro_level { transition: background-color .2s; }
.pmpro-panel #pmpro_levels_table tr.pmpro_level:hover { background: rgba(212, 175, 55, .04); }
.pmpro-panel .pmpro_actions_nav, .pmpro-panel .pmpro_actions_nav a { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line-soft);
	padding: 56px 0 36px;
	background: #070707;
	font-size: 14px;
	color: var(--muted);
}
.site-footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.site-footer__logo .viper-logo__img { height: 40px; }
.site-footer__menu { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 0; padding: 0; }
.site-footer__menu a { color: var(--muted); }
.site-footer__menu a:hover { color: var(--gold-lt); }
.site-footer__risk {
	font-size: 12.5px; line-height: 1.7; color: #7c776d;
	padding: 20px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
	margin: 0 0 22px;
}
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal--delay { transition-delay: 150ms; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* ---------- Dashboard: companion file (Journal & Tracker) ---------- */
.companion { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.companion--left { text-align: left; }
.companion__label { margin-bottom: 16px; }
.companion__row { display: flex; align-items: center; gap: 22px; }
.companion__icon {
	flex: none; width: 64px; height: 76px; border-radius: 6px 12px 6px 6px;
	border: 1px solid rgba(212, 175, 55, .45);
	background: linear-gradient(160deg, #1d1d1d, #070707);
	display: grid; place-items: center; position: relative;
	box-shadow: inset 0 0 0 3px #0b0b0b;
}
.companion__icon::before { /* grid lines suggest a spreadsheet */
	content: ""; position: absolute; inset: 12px 10px 26px;
	background-image: linear-gradient(rgba(212, 175, 55, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .35) 1px, transparent 1px);
	background-size: 11px 9px;
}
.companion__icon span { position: absolute; bottom: 8px; font-family: var(--font-head); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.companion__body { flex: 1; min-width: 0; }
.companion__title { font-size: 20px; margin-bottom: 6px; }
.companion__text { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.companion__body .doc__meta { margin: 0; }
.companion__btn { flex: none; }
@media (max-width: 700px) {
	.companion__row { flex-wrap: wrap; align-items: flex-start; }
	.companion__btn { width: 100%; }
}
