/* JSEC Funnel Builder OS — mobile-first funnel styles (v3.9.0, Master Plan §37).
   Brand: navy #1B2A4E, gold #C9A961, cream #FAF6EE, Georgia serif headings. */

.jsec-fn {
	--navy: #1B2A4E;
	--gold: #C9A961;
	--cream: #FAF6EE;
	--ink: #2b2f3a;
	box-sizing: border-box;
	max-width: 560px;
	margin: 0 auto;
	padding: 22px 18px 26px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
}
.jsec-fn *, .jsec-fn *::before, .jsec-fn *::after { box-sizing: border-box; }

.jsec-fn-h {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--navy);
	font-size: 1.5rem;
	line-height: 1.25;
	margin: 0 0 10px;
}
.jsec-fn-sub { color: #5A6478; font-size: 1rem; margin: 0 0 18px; }
.jsec-fn-fine { color: #8a90a0; font-size: .72rem; margin: 12px 0 0; }

.jsec-fn-label { display: block; font-weight: 600; color: var(--navy); margin: 0 0 14px; font-size: .92rem; }
.jsec-fn-input {
	display: block; width: 100%; margin-top: 6px;
	padding: 14px 14px; font-size: 16px; /* 16px avoids iOS zoom */
	border: 1px solid #ccd0d4; border-radius: 8px; background: #fff; color: var(--ink);
}
.jsec-fn-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,.25); }
.jsec-fn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px){ .jsec-fn-row { grid-template-columns: 1fr; } }

.jsec-fn-fieldset { border: 1px solid #e3e6ec; border-radius: 8px; padding: 12px 14px; margin: 4px 0 16px; }
.jsec-fn-fieldset legend { font-weight: 600; color: var(--navy); padding: 0 6px; font-size: .9rem; }
.jsec-fn-check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; font-size: .9rem; color: var(--ink); cursor: pointer; }
.jsec-fn-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.jsec-fn-consent span { font-size: .8rem; color: #5A6478; line-height: 1.4; }

.jsec-fn-btn {
	display: block; width: 100%; margin-top: 8px;
	padding: 16px 18px; font-size: 1.05rem; font-weight: 700;
	color: var(--navy); background: var(--gold); border: 0; border-radius: 10px;
	cursor: pointer; transition: filter .15s ease, transform .05s ease;
}
.jsec-fn-btn:hover { filter: brightness(1.04); }
.jsec-fn-btn:active { transform: translateY(1px); }
.jsec-fn-btn[disabled] { opacity: .6; cursor: progress; }

.jsec-fn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px){ .jsec-fn-grid { grid-template-columns: 1fr; } }
.jsec-fn-choice {
	padding: 18px 14px; font-size: 1rem; font-weight: 600;
	color: var(--navy); background: var(--cream); border: 1px solid #ece4d2;
	border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; cursor: pointer;
}
.jsec-fn-choice:hover { background: #fff; box-shadow: 0 2px 10px rgba(27,42,78,.08); }
.jsec-fn-choice.is-selected { background: var(--navy); color: #fff; }

.jsec-fn-agree-text {
	background: var(--cream); border: 1px solid #ece4d2; border-radius: 8px;
	padding: 14px; font-size: .86rem; line-height: 1.5; color: #4a4f5c; margin: 0 0 16px;
	max-height: 220px; overflow: auto;
}

.jsec-fn-preview-loading { color: #5A6478; padding: 18px 0; }
.jsec-fn-card {
	background: #fff; border: 1px solid #e3e6ec; border-top: 4px solid var(--gold);
	border-radius: 12px; padding: 18px; box-shadow: 0 4px 18px rgba(27,42,78,.06);
}
.jsec-fn-fit { display: inline-block; background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.jsec-fn-price { font-family: Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.jsec-fn-pkg { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.jsec-fn-incl { list-style: none; padding: 0; margin: 10px 0; }
.jsec-fn-incl li { padding: 5px 0 5px 24px; position: relative; color: #4a4f5c; font-size: .92rem; }
.jsec-fn-incl li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.jsec-fn-disc { font-size: .78rem; color: #8a90a0; margin: 12px 0 16px; line-height: 1.45; }
.jsec-fn-blocked { background: #fff7e6; border: 1px solid #f0d99a; border-radius: 8px; padding: 16px; color: #715a1c; }

.jsec-fn-bonuslist { columns: 2; gap: 18px; padding-left: 18px; margin: 8px 0 18px; }
@media (max-width: 420px){ .jsec-fn-bonuslist { columns: 1; } }
.jsec-fn-bonuslist li { margin: 4px 0; color: #4a4f5c; }

.jsec-fn-err { color: #b3261e; font-size: .85rem; margin: 8px 0 0; }

/* Rich designed landing (per event-type) */
.jsec-fn-landing-rich { max-width: 1080px; padding: 0; }
.jsec-fn-landing-rich .jsec-fn-hero {
	position: relative;
	background:
		radial-gradient(1200px 300px at 80% -20%, rgba(201,169,97,.30), transparent 60%),
		linear-gradient(135deg, var(--navy) 0%, #243a66 100%);
	color: #fff; border-radius: 16px; padding: 56px 28px 50px; text-align: center; overflow: hidden;
}
.jsec-fn-landing-rich .jsec-fn-hero::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 18px 18px; opacity: .5; pointer-events: none;
}
.jsec-fn-kicker {
	position: relative; z-index: 1;
	font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
	color: var(--gold); font-weight: 700; margin: 0 0 12px;
}
.jsec-fn-h1 {
	position: relative; z-index: 1;
	font-family: Georgia, "Times New Roman", serif;
	color: #fff; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1; margin: 0 0 14px; font-weight: 700;
}
.jsec-fn-landing-rich .jsec-fn-sub {
	position: relative; z-index: 1;
	color: rgba(255,255,255,.86); max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem;
}
.jsec-fn-btn-lg {
	position: relative; z-index: 1;
	padding: 18px 36px !important; font-size: 1.1rem !important; max-width: 380px;
}
.jsec-fn-badges {
	position: relative; z-index: 1;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 24px;
	color: rgba(255,255,255,.78); font-size: .92rem;
}
.jsec-fn-badges span { display: inline-flex; align-items: center; gap: 6px; }
.jsec-fn-badges span::before { content: "+"; color: var(--gold); font-weight: 700; }

.jsec-fn-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
	margin: 36px 6px;
}
@media (max-width: 760px) { .jsec-fn-cards { grid-template-columns: 1fr; margin: 28px 0; } }
.jsec-fn-card {
	background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
	border-radius: 14px; padding: 26px 22px;
	box-shadow: 0 12px 30px -24px rgba(27,42,78,.6);
}
.jsec-fn-card h3 {
	font-family: Georgia, "Times New Roman", serif; color: var(--navy);
	font-size: 1.35rem; margin: 0 0 8px; font-weight: 700;
}
.jsec-fn-card p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.55; }

.jsec-fn-ctaband {
	text-align: center; padding: 20px 0 40px;
}
