/*
Theme Name:  FTMOZERO
Theme URI:   https://ftmozero.com
Author:      FTMOZERO
Description: Official FTMOZERO trading challenge theme with $0 upfront messaging, interactive wallet previews, animated feature walls, and WooCommerce-synchronized challenge rules.
Version:     6.0.7
License:     GPL-2.0-or-later
Text Domain: payafterzero
Tags:        one-column, custom-menu, custom-logo, editor-style
*/

/*
 * The design system itself lives in assets/design.css — lifted verbatim from the
 * approved homepage so nothing drifts. This file only carries what WordPress
 * needs on top of it: content styling for posts and pages, comments, widgets,
 * and the handful of layouts the static mockup never had to render.
 */

/* ---------- shared page shell ---------- */
.pageHead {
	padding: 150px 0 46px;
	background:
		radial-gradient(circle at 50% -40%, rgba(30, 190, 110, .16), transparent 62%),
		var(--bg);
	border-bottom: 1px solid var(--line);
}
.pageHead .wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.pageHead h1 {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: clamp(34px, 6vw, 56px);
	line-height: 1.06;
	letter-spacing: -.03em;
	margin: 14px 0 0;
}
.pageHead h1 span { color: var(--green); }
.pageHead p.lede {
	margin: 16px 0 0;
	max-width: 62ch;
	color: var(--muted);
	font-size: clamp(15px, 2.2vw, 17.5px);
	line-height: 1.65;
}
.crumbs { font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* ---------- long-form content ---------- */
.prose { max-width: 74ch; font-size: 16.5px; line-height: 1.75; color: var(--soft); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 27px; line-height: 1.2; letter-spacing: -.02em;
	color: var(--text); margin-top: 1.9em;
}
.prose h3 { font-size: 20px; color: var(--text); margin-top: 1.6em; }
.prose h4 { font-size: 17px; color: var(--text); margin-top: 1.4em; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose blockquote {
	margin-left: 0; padding: 16px 22px;
	border-left: 3px solid var(--green);
	background: var(--panel); border-radius: 0 14px 14px 0;
	color: var(--soft); font-style: normal;
}
.prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .88em; padding: 2px 7px; border-radius: 6px;
	background: var(--panel3); color: #b7eac8;
}
.prose pre {
	padding: 18px 20px; border-radius: 14px; overflow-x: auto;
	background: var(--panel); border: 1px solid var(--line);
}
.prose pre code { background: none; padding: 0; }
.prose img, .prose iframe { max-width: 100%; border-radius: 16px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--text); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* legal documents get numbered clauses */
.legal .prose h2 { counter-increment: clause; }
.legal .prose h2::before {
	content: counter(clause) ". ";
	color: var(--green); font-weight: 600;
}
.legal .prose { counter-reset: clause; }
.legalMeta {
	display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
	font-size: 13px; color: var(--faint);
}
.legalMeta span {
	padding: 6px 12px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--panel);
}

/* ---------- two-column doc layout ---------- */
.docLayout {
	display: grid; grid-template-columns: minmax(0, 1fr) 262px;
	gap: 54px; align-items: start; padding: 54px 0 90px;
}
.docNav {
	position: sticky; top: 96px; padding: 22px;
	border: 1px solid var(--line); border-radius: 18px; background: var(--panel);
}
.docNav h4 {
	font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--faint); margin: 0 0 14px;
}
.docNav a {
	display: block; padding: 7px 0; font-size: 14px;
	color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent;
}
.docNav a:hover { color: var(--green); }
@media (max-width: 900px) {
	.docLayout { grid-template-columns: 1fr; gap: 30px; }
	.docNav { position: static; }
}

/* ---------- blog ---------- */
.postGrid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 22px; padding: 54px 0 90px;
}
.postCard {
	display: flex; flex-direction: column; overflow: hidden;
	border: 1px solid var(--line); border-radius: 20px;
	background: var(--panel); transition: border-color .22s, transform .22s;
}
.postCard:hover { border-color: var(--line2); transform: translateY(-3px); }
.postCard__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--panel3); }
.postCard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.postCard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.postCard__meta { font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.postCard h2 {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 19px; line-height: 1.3; margin: 10px 0 8px; letter-spacing: -.01em;
}
.postCard h2 a { color: var(--text); text-decoration: none; }
.postCard h2 a:hover { color: var(--green); }
.postCard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.postCard__more { margin-top: auto; font-size: 13.5px; color: var(--green); font-weight: 600; }

.pager { display: flex; gap: 8px; justify-content: center; padding-bottom: 80px; }
.pager .page-numbers {
	min-width: 42px; height: 42px; display: grid; place-items: center;
	padding: 0 12px; border-radius: 12px; font-size: 14px;
	border: 1px solid var(--line); background: var(--panel);
	color: var(--muted); text-decoration: none;
}
.pager .page-numbers.current { background: var(--grad); color: #04170d; font-weight: 700; border-color: transparent; }
.pager .page-numbers:hover:not(.current) { border-color: var(--line2); color: var(--text); }

/* ---------- verification result ---------- */
.verifyBox {
	max-width: 720px; margin: 0 auto; padding: 34px;
	border: 1px solid var(--line); border-radius: 22px; background: var(--panel);
}
.verifyState {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 8px 16px; border-radius: 999px;
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.verifyState.ok { background: rgba(67, 230, 154, .12); color: var(--green); box-shadow: inset 0 0 0 1px rgba(67, 230, 154, .34); }
.verifyState.no { background: rgba(255, 120, 120, .1); color: #ff8f8f; box-shadow: inset 0 0 0 1px rgba(255, 120, 120, .3); }
.verifyRows { margin-top: 24px; display: grid; gap: 0; }
.verifyRows div {
	display: flex; justify-content: space-between; gap: 18px;
	padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.verifyRows div span { color: var(--muted); }
.verifyRows div b { color: var(--text); font-weight: 600; text-align: right; word-break: break-all; }
.verifyForm { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.verifyForm input {
	flex: 1; min-width: 200px; padding: 14px 16px; font-size: 15px;
	border-radius: 13px; border: 1px solid var(--line);
	background: var(--panel2); color: var(--text);
}
.verifyForm input:focus { outline: none; border-color: var(--line2); }

/* ---------- account shell (dashboard, start, billing) ---------- */
.appShell { padding: 130px 0 90px; }
.appShell .wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.paz-start-shell .wrap { max-width: 820px; }
.paz-start-intro { margin: 19px 0 27px; }
.paz-start-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
	border: 1px solid rgba(67, 230, 154, .26); border-radius: 999px;
	background: rgba(67, 230, 154, .065); color: #b7eac8;
	font-size: 9px; font-weight: 800; letter-spacing: .12em;
}
.paz-start-badge i {
	width: 7px; height: 7px; border-radius: 50%; background: var(--green);
	box-shadow: 0 0 15px rgba(67, 230, 154, .75);
}
.paz-start-intro h1 {
	margin: 15px 0 8px; font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: clamp(34px, 6vw, 55px); line-height: 1.08; letter-spacing: -.06em;
}
.paz-start-intro h1 span {
	background: var(--grad); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.paz-start-intro > p { font-size: 14px; color: var(--muted); }
.paz-start-proof { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 15px; }
.paz-start-proof span { font-size: 10.5px; color: #b9d3c2; }
.paz-start-footnote {
	margin: 25px 0 0; padding: 17px 18px; border: 1px solid var(--line);
	border-radius: 17px; background: rgba(255, 255, 255, .014);
	font-size: 11.5px; color: var(--muted);
}
.paz-start-footnote > strong { font-size: 12px; color: var(--text); }
.paz-start-footnote > p { margin: 6px 0 9px; line-height: 1.6; }
.paz-start-footnote a { color: var(--green); }
.paz-start-footnote > span { margin: 0 6px; }
@media (max-width: 600px) {
	.paz-start-shell { padding-top: 110px; }
	.paz-start-shell .wrap { padding: 0 16px; }
	.paz-start-intro { margin-bottom: 22px; }
	.paz-start-proof { gap: 6px 10px; }
	.paz-start-proof span { font-size: 9px; }
}
.appTabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 22px 0 30px; }
.appTabs a {
	padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
	border: 1px solid var(--line); background: var(--panel);
	color: var(--muted); text-decoration: none;
}
.appTabs a:hover { border-color: var(--line2); color: var(--text); }
.appTabs a[aria-current] { background: var(--grad); color: #04170d; border-color: transparent; }

/* ---------- contact form ---------- */
.formCard {
	max-width: 640px; padding: 32px;
	border: 1px solid var(--line); border-radius: 20px; background: var(--panel);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--soft); }
.field input, .field textarea, .field select {
	width: 100%; padding: 13px 15px; font-size: 15px; font-family: inherit;
	border-radius: 12px; border: 1px solid var(--line);
	background: var(--panel2); color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--line2); }
.formNote { font-size: 13px; color: var(--faint); margin-top: 6px; }
.notice {
	padding: 14px 18px; border-radius: 13px; margin-bottom: 22px; font-size: 14.5px;
	border: 1px solid var(--line2); background: rgba(67, 230, 154, .08); color: #b7eac8;
}
.notice.bad { border-color: rgba(255, 120, 120, .3); background: rgba(255, 120, 120, .08); color: #ff9f9f; }

/* ---------- 404 ---------- */
.errPage { padding: 190px 0 120px; text-align: center; }
.errCode {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: clamp(80px, 18vw, 170px); line-height: .9; letter-spacing: -.05em;
	background: var(--grad); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------- accessibility ---------- */
.skipLink {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	padding: 12px 20px; background: var(--green); color: #04170d;
	font-weight: 700; border-radius: 0 0 12px 0;
}
.skipLink:focus { left: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- WP core classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--faint); text-align: center; margin-top: 8px; }
.sticky .postCard { border-color: var(--line2); }

/* ---------- header states added by site.js ---------- */
.nav.isScrolled {
	background: rgba(2, 10, 7, .88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.navActions { display: flex; align-items: center; gap: 10px; }
.navBurger {
	display: none; width: 42px; height: 42px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--panel);
	cursor: pointer; padding: 0; place-items: center; gap: 5px;
}
.navBurger span { display: block; width: 17px; height: 2px; background: var(--soft); border-radius: 2px; }
.stickyCta { transition: opacity .28s ease; }

@media (max-width: 940px) {
	.navBurger { display: grid; }
	.navDash { display: none; }
	.nav .links {
		position: fixed; inset: 64px 0 0; z-index: 60;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 18px 22px; overflow-y: auto;
		background: var(--bg); border-top: 1px solid var(--line);
		transform: translateX(100%); transition: transform .26s ease;
		display: flex;
	}
	.nav .links.isOpen { transform: none; }
	.nav .links a {
		padding: 16px 4px; font-size: 17px;
		border-bottom: 1px solid var(--line);
	}
}

/* wallet compatibility dots (logos are not bundled — see Wallets & security) */
.walletDot {
	width: 26px; height: 26px; border-radius: 8px; display: inline-block;
	background: var(--grad); flex: none;
}
.walletLogos div { display: flex; align-items: center; gap: 9px; }

/* ---------- wordmark ---------- */
.logoMark--word { display: block; width: auto; height: auto; line-height: 0; }
.logoMark--word svg { height: 30px; width: auto; display: block; overflow: visible; }
.foot .logoMark--word svg { height: 26px; }
.lmMain {
	font-family: 'Montserrat', 'Space Grotesk', system-ui, -apple-system, sans-serif;
	font-weight: 900; font-size: 58px; fill: #fff; letter-spacing: -.045em;
}
.lmTier {
	font-family: 'Montserrat', 'Space Grotesk', system-ui, -apple-system, sans-serif;
	font-weight: 800; font-size: 26px; letter-spacing: .025em;
}
/* The wordmark carries the name, so the text logoword beside it would repeat it. */
.logo:has(.logoMark--word) .logoword { display: none; }
@media (max-width: 480px) { .logoMark--word svg { height: 25px; } }

/* ---------- uploaded SVG logo ---------- */
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { display: block; width: auto; height: 34px; max-width: 220px; object-fit: contain; }
.paz-svg-logo { height: 34px; width: auto; max-width: 220px; }
.foot .custom-logo, .foot .paz-svg-logo { height: 28px; }
@media (max-width: 480px) {
	.custom-logo, .paz-svg-logo { height: 27px; max-width: 165px; }
}

/* ---------- FAQ groups ---------- */
.faqGroup {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 13px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	color: var(--green);
	margin: 44px 0 14px;
}
.faqGroup:first-of-type { margin-top: 8px; }
.faq + .faqGroup { margin-top: 46px; }

/* ---------- FTMOZERO polished live-site presentation ---------- */
.nav {
	background: rgba(3, 11, 8, .86);
	border-bottom-color: rgba(170, 231, 197, .09);
}
.navin { height: 78px; gap: 34px; }
.nav .logo { flex: 0 0 auto; min-width: 172px; }
.nav .logoMark--word svg { height: 36px; max-width: 195px; }
.nav .links { align-items: center; gap: 28px; font-size: 13px; font-weight: 550; }
.nav .links a { white-space: nowrap; color: #a9bbb0; transition: color .2s ease; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: #f1fff6; }
.navActions { margin-left: 10px; }
.nav .btn.primary { min-width: 128px; padding: 12px 20px; white-space: nowrap; }

.hero { min-height: 760px; padding: 78px 0 85px; }
.heroDollar { font-size: clamp(142px, 19vw, 226px); }
.hero h1 { max-width: 820px; margin: 27px auto 17px; font-size: clamp(44px, 5.5vw, 72px); }
.heroSub { max-width: 670px; font-size: 16px; line-height: 1.8; }
.heroMini { max-width: 690px; margin-top: 37px; }
.heroMarketCard { right: 9%; }
.section { padding: 96px 0; }
.head { margin-bottom: 43px; }
.head h2 { font-size: clamp(34px, 4.5vw, 58px); }
.head h2 span {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.head p { max-width: 640px; margin-right: auto; margin-left: auto; line-height: 1.7; }

.tickerWindow, .proofTickerWindow { padding-top: 11px; padding-bottom: 11px; }
.payoutCard--feature { min-width: 285px; }
.payoutCard--feature .flag { color: #6eedac; font-size: 22px; }
.payoutCard--feature .paid { font-size: 8px; letter-spacing: .07em; }
.proofCard--feature { min-height: 250px; }
.proofCard--feature .proofAmount { margin-top: 9px; margin-bottom: 12px; font-size: 49px; }
.proofFeatureCopy { max-width: 29ch; color: var(--muted); font-size: 12px; line-height: 1.7; }
.proofFeatureLine {
	display: flex; align-items: center; gap: 8px; margin-top: 24px;
	color: #bddac8; font-size: 10px; font-weight: 600;
}
.proofFeatureLine i {
	width: 7px; height: 7px; border-radius: 50%; background: var(--green);
	box-shadow: 0 0 14px rgba(67, 230, 154, .7);
}

.pageHead { padding-top: 118px; padding-bottom: 48px; }
.foot { padding-top: 65px; background: #030b08; }
.footgrid { gap: 48px; }
.foot h4 { margin-bottom: 15px; color: #f0faf4; font-size: 12px; }
.foot a:not(.logo) { margin: 10px 0; color: #91a598; font-size: 12px; }
.foot .logoMark--word svg { height: 32px; }
.legal { color: #7b8d81; font-size: 11px; line-height: 1.7; }

@media (max-width: 1120px) and (min-width: 941px) {
	.navin { gap: 18px; }
	.nav .logo { min-width: 155px; }
	.nav .links { gap: 16px; font-size: 12px; }
}

@media (max-width: 940px) {
	.navin { height: 72px; gap: 12px; }
	.nav .logo { min-width: 0; }
	.navActions { margin-left: auto; }
	.nav .links { inset: 71px 0 0; }
	.nav .links a { padding: 17px 6px; font-size: 16px; }
}

@media (max-width: 720px) {
	.hero { min-height: 700px; padding: 75px 0; }
	.heroDollar { font-size: clamp(125px, 35vw, 180px); }
	.hero h1 { font-size: clamp(40px, 10vw, 59px); }
	.heroSub { padding: 0 4px; font-size: 14px; }
	.heroTrust span { padding: 7px 10px; font-size: 9px; }
	.heroMini { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
	.heroMini div { padding: 13px 7px; border-right: 1px solid var(--line); border-bottom: 0; }
	.heroMini div:last-child { border-right: 0; }
	.heroMini strong { font-size: 21px; }
	.heroMini span { font-size: 8px; }
	.section { padding: 76px 0; }
	.head h2 { font-size: clamp(32px, 8.4vw, 48px); }
	.pageHead { padding-top: 97px; }
	.footgrid { gap: 26px; }
	.proofCard--feature { min-height: 224px; }
}

@media (max-width: 420px) {
	.nav .logoMark--word svg { height: 30px; max-width: 148px; }
	.nav .btn.primary { min-width: auto; padding: 10px 12px; font-size: 11px; }
	.navBurger { width: 37px; height: 37px; }
}
