/* Gambix Revenue Leak Audit — form page. Scoped to plugin templates only. */
:root {
	--ink: #0d0f11;          /* near-black */
	--charcoal: #16191d;     /* page bg */
	--slate: #1f242a;        /* card bg */
	--slate-2: #2a3038;      /* inputs */
	--line: rgba(255, 255, 255, 0.09);
	--text: #f3f1ee;
	--muted: #a8adb4;
	--coral: #ef7e6b;        /* CTA + focal only */
	--radius-input: 6px;
	--radius-card: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.ga-body {
	background: var(--charcoal);
	color: var(--text);
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.ga-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px clamp(20px, 5vw, 56px);
	border-bottom: 1px solid var(--line);
}
.ga-wordmark {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	letter-spacing: 0.34em;
	font-size: 15px;
	color: var(--text);
	text-decoration: none;
}
.ga-wordmark span { color: var(--coral); }
.ga-top-note { color: var(--muted); font-size: 13px; }

.ga-shell {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
	gap: clamp(32px, 6vw, 88px);
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(40px, 7vh, 84px) clamp(20px, 5vw, 56px) 80px;
	align-items: start;
}

.ga-kicker {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}
.ga-h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 800;
	font-size: clamp(34px, 4.6vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin-bottom: 20px;
}
.ga-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin-bottom: 30px; }

.ga-proof { list-style: none; display: grid; gap: 12px; }
.ga-proof li {
	position: relative;
	padding-left: 26px;
	color: var(--text);
	font-size: 15px;
}
.ga-proof li::before {
	content: "";
	position: absolute;
	left: 0; top: 7px;
	width: 12px; height: 12px;
	border-radius: 50%;
	border: 1.5px solid var(--muted);
}

.ga-card {
	background: var(--slate);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: clamp(24px, 3.4vw, 38px);
	box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 16px 40px rgba(0,0,0,.35);
}

.ga-field { margin-bottom: 18px; }
.ga-field label, .ga-legend {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 7px;
}
.ga-field label em { color: var(--muted); font-style: normal; font-weight: 400; }

input[type="text"], input[type="email"], input[type="tel"], select {
	width: 100%;
	background: var(--slate-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-input);
	color: var(--text);
	font: inherit;
	font-size: 15px;
	padding: 11px 13px;
	transition: border-color 140ms ease-out, background-color 140ms ease-out;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder { color: #6f757d; }
input:focus-visible, select:focus-visible {
	outline: 2px solid rgba(243, 241, 238, 0.75);
	outline-offset: 1px;
	border-color: transparent;
}

.ga-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ga-seg-3 { grid-template-columns: repeat(3, 1fr); }
.ga-seg label { margin: 0; cursor: pointer; }
.ga-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ga-seg span {
	display: block;
	text-align: center;
	padding: 10px 6px;
	background: var(--slate-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-input);
	font-size: 14px;
	color: var(--muted);
	transition: color 140ms ease-out, border-color 140ms ease-out, background-color 140ms ease-out;
}
.ga-seg input:checked + span {
	color: var(--text);
	border-color: rgba(243, 241, 238, 0.55);
	background: #333a43;
}
.ga-seg input:focus-visible + span { outline: 2px solid rgba(243, 241, 238, 0.75); outline-offset: 1px; }

.ga-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ga-cta {
	width: 100%;
	margin-top: 6px;
	background: var(--coral);
	color: #1c1310;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	padding: 15px 20px;
	cursor: pointer;
	transition: filter 140ms ease-out, transform 140ms ease-out;
}
.ga-cta:hover { filter: brightness(1.07); }
.ga-cta:active { transform: translateY(1px); }
.ga-cta:disabled { filter: saturate(0.4) brightness(0.8); cursor: wait; }
.ga-cta:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.ga-fine { margin-top: 14px; font-size: 12px; color: var(--muted); }

.ga-error {
	background: rgba(239, 126, 107, 0.12);
	border: 1px solid rgba(239, 126, 107, 0.4);
	border-radius: var(--radius-input);
	color: #f5b6aa;
	font-size: 14px;
	padding: 10px 13px;
	margin-bottom: 14px;
}

.ga-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ga-declined { text-align: left; }
.ga-declined-h {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	margin-bottom: 12px;
}
.ga-declined p { color: var(--muted); margin-bottom: 22px; }
.ga-ghost {
	display: inline-block;
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 11px 18px;
	text-decoration: none;
	font-size: 14.5px;
	transition: border-color 140ms ease-out;
}
.ga-ghost:hover { border-color: rgba(243, 241, 238, 0.5); }

/* ----- Below-fold bands ----- */

.ga-band { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.ga-logos {
	border-top: 1px solid var(--line);
	padding-top: 34px;
	padding-bottom: 34px;
	display: flex;
	align-items: baseline;
	gap: 28px;
	flex-wrap: wrap;
}
.ga-logos-label { color: var(--muted); font-size: 13px; }
.ga-logos-row { display: flex; gap: 34px; flex-wrap: wrap; }
.ga-logos-row span {
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.06em;
	color: rgba(243, 241, 238, 0.55);
}

.ga-how {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(36px, 6vw, 90px);
	align-items: center;
	padding-top: clamp(56px, 10vh, 110px);
	padding-bottom: clamp(56px, 10vh, 110px);
}
.ga-h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 38px);
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin-bottom: 26px;
}
.ga-steps-list { list-style: none; display: grid; gap: 22px; }
.ga-steps-list li { display: flex; gap: 18px; align-items: flex-start; }
.ga-step-n {
	flex: 0 0 auto;
	width: 30px; height: 30px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	margin-top: 2px;
}
.ga-steps-list h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.ga-steps-list p { color: var(--muted); font-size: 14.5px; max-width: 46ch; }

.ga-preview-card {
	background: var(--slate);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 28px;
	transform: rotate(-1.2deg);
	box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.4);
}
.ga-preview-label { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.ga-preview-loss {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 800;
	font-size: 46px;
	color: var(--coral);
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	margin-bottom: 20px;
}
.ga-preview-loss small { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.ga-preview-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 12px; }
.ga-preview-row .ga-preview-bar { justify-self: start; width: 100%; }
.ga-preview-row:nth-child(4) .ga-preview-bar { max-width: 72%; }
.ga-preview-row:nth-child(5) .ga-preview-bar { max-width: 44%; }
.ga-preview-row:nth-child(6) .ga-preview-bar { max-width: 28%; }
.ga-preview-bar {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(243, 241, 238, 0.55), rgba(243, 241, 238, 0.18));
	flex: 0 0 auto;
}
.ga-preview-val { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.ga-preview-note { margin-top: 18px; color: #6f757d; font-size: 11.5px; }

.ga-final {
	text-align: center;
	border-top: 1px solid var(--line);
	padding-top: clamp(48px, 8vh, 88px);
	padding-bottom: clamp(56px, 9vh, 100px);
}
.ga-final .ga-h2 { margin-bottom: 8px; }
.ga-final-sub { color: var(--muted); margin-bottom: 26px; }
.ga-cta-inline { display: inline-block; width: auto; text-decoration: none; padding: 14px 30px; }

.ga-foot {
	border-top: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	max-width: 1120px;
	margin: 0 auto;
	padding: 26px clamp(20px, 5vw, 56px) 40px;
}
.ga-foot p { color: #6f757d; font-size: 12.5px; }
.ga-foot p a { color: var(--muted); text-decoration: none; }
.ga-foot p a:hover { color: var(--text); }

html { scroll-behavior: smooth; }

@media (max-width: 880px) {
	.ga-how { grid-template-columns: 1fr; }
	.ga-preview-card { transform: none; }
	.ga-logos { flex-direction: column; gap: 14px; }
}

@media (max-width: 880px) {
	.ga-shell { grid-template-columns: 1fr; padding-top: 36px; }
	.ga-row { grid-template-columns: 1fr; gap: 0; }
	.ga-seg { grid-template-columns: repeat(2, 1fr); }
	.ga-seg-3 { grid-template-columns: repeat(3, 1fr); }
	.ga-top-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
