/* RankSurge opt-in funnel (/optin-v1/) — VSL-focused, single column.
   Reuses tokens, buttons, and .vsl-* / .hl from styles.css. */

.optin { background: var(--paper); }

/* .btn-lg + the qualify funnel styles now live in funnel.css (shared with the homepage). */

/* header — logo is NOT a link.
   Override the global `header { position: fixed }` (styles.css): this funnel is a
   single scrolling column, and the fixed header was overlapping the hero eyebrow
   ("Free 2-minute training") because .optin-main had no offset to clear it. */
.optin-head { position: static; padding: 18px 0; border-bottom: 1px solid var(--line); }
.optin-head-in { display: flex; align-items: center; justify-content: center; }
.brand--static { cursor: default; }

.optin-main { padding: clamp(28px, 4vw, 44px) 0 80px; }
.optin-wrap { max-width: 780px; margin: 0 auto; text-align: center; }

.optin-eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px;
	letter-spacing: .12em; text-transform: uppercase; color: var(--lime-deep);
	margin-bottom: 20px;
}
.optin-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); }

.optin-h1 {
	font-family: 'Archivo', sans-serif; font-weight: 900;
	font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -.01em;
	word-spacing: .02em; color: var(--ink); max-width: 780px; margin: 0 auto;
}
.optin-sub {
	margin: 20px auto 0; max-width: 600px; color: var(--ink-2);
	font-size: clamp(16px, 2vw, 19px); line-height: 1.55;
}
.optin-cred {
	margin: 16px auto 0; font-size: 14px; font-style: italic; color: var(--gray);
}
.optin-cred b { font-weight: 700; color: var(--ink-2); }

/* revealed ranking domain on result cards (opt-in page only) */
.rcard-url {
	font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 500;
	color: var(--lime-deep); margin: 3px 0 0; overflow-wrap: anywhere;
}
.rcard-kw, .rcard-vol { overflow-wrap: anywhere; }

/* result-card mini climb sparkline — replaces the dashed jump arrow.
   The from/to numbers stay as the per-card data; the lime curve between them
   reads "up and to the right". Scoped to .optin so the homepage is untouched. */
.optin .rcard-jump { align-items: stretch; gap: 12px; min-height: 46px; margin-bottom: 8px; }
.optin .jp { align-self: flex-end; line-height: .9; }
.optin .jp-arr {
	flex: 1; height: auto; align-self: stretch; position: relative; min-width: 56px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 46' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23A8D62F' stop-opacity='.20'/%3E%3Cstop offset='1' stop-color='%23A8D62F' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 37 L18 36 L36 33 L52 29 L68 20 L84 10 L100 4 L100 46 L0 46 Z' fill='url(%23s)'/%3E%3Cpath d='M0 37 L18 36 L36 33 L52 29 L68 20 L84 10 L100 4' fill='none' stroke='%23A8D62F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")
		center / 100% 100% no-repeat;
}
.optin .jp-arr::after {
	content: ''; position: absolute; right: -3px; top: 0;
	width: 9px; height: 9px; border: 0; border-radius: 50%;
	background: var(--lime-deep); box-shadow: 0 0 0 3px rgba(168, 214, 47, .20);
}

/* redesigned rank-history chart */
.rank-graph { max-width: 840px; margin: 30px auto 0; border: 1px solid var(--line-dark); background: var(--ink); padding: 22px clamp(14px, 3vw, 26px) 18px; }
.rg-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rg-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); }
.rg-kw { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--paper); }
.rg-dom { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--lime-deep); margin-left: auto; }
.rg-svg { width: 100%; height: auto; display: block; }
.rg-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-dark); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--gray-2); }
.rg-foot b { color: var(--lime); font-weight: 700; }
@media (max-width: 520px) { .rg-dom { margin-left: 0; } }

.optin-vsl { margin: clamp(28px, 4vw, 44px) auto 0; }

/* funnel + .optin-in + .funnel-status etc. -> funnel.css (shared with the homepage) */

.optin-trust {
	display: flex; gap: 14px 40px; justify-content: center; flex-wrap: wrap;
	margin-top: 44px; font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--gray);
}
.optin-trust b { color: var(--ink); font-weight: 800; }

/* footer */
.optin-foot { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; }
.optin-foot .brand { justify-content: center; margin-bottom: 10px; }
.optin-foot p { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--gray); }
.optin-copy { margin-top: 16px; color: var(--gray-2); }

@media (max-width: 560px) {
	.optin-trust { gap: 10px 26px; }
}
