/* FLR Community — waitlist page + CTA card.
   Brand tokens only. Everything is scoped under .flrc-wrap / .flrc-cta so this
   can load next to Astra + Elementor without leaking. */

.flrc-wrap,
.flrc-cta {
	--flrc-bg:      #080308;
	--flrc-surface: #120810;
	--flrc-card:    rgba(255,255,255,.04);
	--flrc-line:    rgba(242,230,238,.10);
	--flrc-rose:    #C2185B;
	--flrc-rose-lt: #E91E8C;
	--flrc-gold:    #C9A84C;
	--flrc-text:    #F2E6EE;
	--flrc-muted:   #A8899A;
	--flrc-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--flrc-head:    'Playfair Display', Georgia, serif;
	--flrc-display: 'Cormorant Garamond', Georgia, serif;
}

/* Full-bleed dark surface. Astra's page template is boxed and light, so the
   block has to break out of the container itself — see the white-gutter note in
   memory/feedback_flrindia_editing_gotchas.md.
   SYMMETRIC negative margins with width:auto, NOT `width:100vw` + one margin:
   .ast-container is padded, so `50%` (of the padded content box) and `50vw` (of
   the viewport) disagree by half that padding and the block drifts sideways.
   Setting both margins lets the error cancel, and dodges the 100vw-vs-scrollbar
   overflow at the same time. */
.flrc-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: auto;
	max-width: 100vw;
	overflow-x: hidden;
	background: var(--flrc-bg);
	color: var(--flrc-text);
	font-family: var(--flrc-body);
	padding: clamp(48px, 8vw, 96px) 20px clamp(64px, 9vw, 110px);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.flrc-wrap *, .flrc-wrap *::before, .flrc-wrap *::after { box-sizing: border-box; }

/* The theme uppercases headings on this template, which turns the copy shouty —
   "USE AN EMAIL YOU ACTUALLY CHECK." instead of sentence case. Every heading in
   this block is written to be read as a sentence, so force it back. */
.flrc-wrap h1, .flrc-wrap h2, .flrc-wrap h3,
.flrc-wrap .flrc-benefits-intro, .flrc-wrap .flrc-rules-intro,
.flrc-wrap .flrc-form-intro {
	text-transform: none;
	letter-spacing: normal;
}

/* ── Flash messages ─────────────────────────────────────────────────────── */
.flrc-flash {
	max-width: 720px;
	margin: 0 auto clamp(32px, 5vw, 52px);
	padding: 18px 24px;
	border-radius: 14px;
	font-size: 17px;
	line-height: 1.65;
}
.flrc-flash.ok   { background: rgba(194,24,91,.14);  border: 1px solid rgba(194,24,91,.45);  color: #FBE7F0; }
.flrc-flash.warn { background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.42); color: #F6EDD6; }
.flrc-flash strong { display: block; font-family: var(--flrc-head); font-size: 20px; margin-bottom: 4px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.flrc-hero { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }

.flrc-kicker {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--flrc-gold);
}
.flrc-title {
	margin: 0 0 28px;
	font-family: var(--flrc-display);
	font-weight: 300;
	font-size: clamp(40px, 7vw, 68px);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--flrc-text);
}
/* The reading size is deliberately large. This page is asking for honesty —
   it cannot look like small print. */
.flrc-lede {
	margin: 0 0 20px;
	font-size: clamp(17px, 2.1vw, 20px);
	line-height: 1.75;
	color: #DCC9D6;
	text-align: left;
}
.flrc-lede:last-child { margin-bottom: 0; }

/* Inline emphasis that actually reads as emphasis: brighter, heavier, and
   sitting on a faint rose wash so the eye catches it while skimming. */
.flrc-lede b,
.flrc-rule-body p b {
	font-weight: 600;
	color: #FFF1F7;
	background: linear-gradient(transparent 62%, rgba(194,24,91,.30) 62%);
	padding: 0 2px;
}
/* Marker-pen line — one per page, for the single sentence that matters most. */
.flrc-mark {
	font-weight: 600;
	color: #FFF1F7;
	background: rgba(194,24,91,.26);
	box-shadow: 0 0 0 4px rgba(194,24,91,.26);
	border-radius: 2px;
}

/* ── The three rules ────────────────────────────────────────────────────── */
.flrc-rules { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 78px); }

.flrc-rules-intro {
	margin: 0 0 30px;
	font-family: var(--flrc-head);
	font-size: clamp(21px, 2.6vw, 26px);
	line-height: 1.4;
	color: var(--flrc-text);
	text-align: center;
}

.flrc-rule {
	display: flex;
	gap: clamp(16px, 3vw, 28px);
	align-items: flex-start;
	background: var(--flrc-card);
	border: 1px solid var(--flrc-line);
	border-radius: 18px;
	padding: clamp(24px, 3.4vw, 34px);
	margin-bottom: 18px;
}
.flrc-rule:last-child { margin-bottom: 0; }

.flrc-num {
	flex: 0 0 auto;
	font-family: var(--flrc-display);
	font-size: clamp(44px, 6vw, 62px);
	font-weight: 300;
	line-height: .9;
	color: var(--flrc-rose);
	opacity: .95;
}
.flrc-rule-body { min-width: 0; }
.flrc-rule-body h2 {
	margin: 0 0 12px;
	font-family: var(--flrc-head);
	font-size: clamp(21px, 2.8vw, 27px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--flrc-text);
}
.flrc-rule-body p {
	margin: 0 0 14px;
	font-size: clamp(16px, 1.9vw, 18px);
	line-height: 1.75;
	color: #CBB4C4;
}
.flrc-rule-body p:last-child { margin-bottom: 0; }

/* The consequence line. Pulled left, larger, rose-edged — this is the sentence
   people are meant to walk away remembering. */
.flrc-pull {
	margin-top: 18px !important;
	padding: 14px 0 14px 20px;
	border-left: 3px solid var(--flrc-rose);
	font-family: var(--flrc-head) !important;
	font-size: clamp(17px, 2.1vw, 20px) !important;
	line-height: 1.6 !important;
	color: #F6E3EE !important;
	font-style: italic;
}

/* ── What it will be ────────────────────────────────────────────────────── */
.flrc-benefits { max-width: 900px; margin: 0 auto clamp(48px, 6vw, 78px); }

.flrc-benefits-intro {
	margin: 0 0 28px;
	font-family: var(--flrc-head);
	font-size: clamp(21px, 2.6vw, 26px);
	line-height: 1.4;
	color: var(--flrc-text);
	text-align: center;
}
.flrc-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: 14px;
}
.flrc-benefit {
	background: var(--flrc-card);
	border: 1px solid var(--flrc-line);
	border-radius: 16px;
	padding: 24px 22px;
}
.flrc-benefit h3 {
	margin: 0 0 10px;
	font-family: var(--flrc-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.32;
	color: var(--flrc-gold);
}
.flrc-benefit p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.72;
	color: #CBB4C4;
}

/* Price. Stated plainly and immediately followed by "nothing is charged today" —
   a waitlist that looks like a checkout loses people. */
.flrc-price { margin-top: 32px; text-align: center; }
.flrc-amount {
	font-family: var(--flrc-display);
	font-weight: 300;
	font-size: clamp(46px, 7vw, 62px);
	line-height: 1;
	color: var(--flrc-text);
}
.flrc-per {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--flrc-gold);
}
.flrc-price-note {
	max-width: 460px;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--flrc-muted);
}

/* ── Form ───────────────────────────────────────────────────────────────── */
.flrc-formwrap {
	max-width: 620px;
	margin: 0 auto;
	background: var(--flrc-surface);
	border: 1px solid var(--flrc-line);
	border-radius: 20px;
	padding: clamp(28px, 4.4vw, 46px);
}
.flrc-form-intro {
	margin: 0 0 28px;
	font-family: var(--flrc-head);
	font-size: clamp(20px, 2.4vw, 24px);
	line-height: 1.45;
	color: var(--flrc-text);
	text-align: center;
}

.flrc-field { margin-bottom: 26px; }
.flrc-label {
	display: block;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--flrc-text);
}
.flrc-hint { font-weight: 400; color: var(--flrc-muted); }
.flrc-sub  { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: var(--flrc-muted); }

.flrc-form input[type="text"],
.flrc-form input[type="email"],
.flrc-form textarea,
.flrc-select {
	width: 100%;
	padding: 14px 16px;
	background: rgba(255,255,255,.05);
	border: 1px solid var(--flrc-line);
	border-radius: 12px;
	color: var(--flrc-text);
	font-family: var(--flrc-body);
	font-size: 16px;              /* never below 16px — iOS zooms the page otherwise */
	line-height: 1.5;
	transition: border-color .18s, background .18s;
	-webkit-appearance: none;
	appearance: none;
}
.flrc-form textarea { resize: vertical; min-height: 84px; }
.flrc-form input::placeholder,
.flrc-form textarea::placeholder { color: rgba(168,137,154,.65); }
.flrc-form input:focus,
.flrc-form textarea:focus,
.flrc-select:focus {
	outline: none;
	border-color: var(--flrc-rose);
	background: rgba(255,255,255,.08);
}
.flrc-form .is-bad { border-color: #E4557A !important; }

.flrc-select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23A8899A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px;
	padding-right: 42px;
}
/* The native dropdown list itself renders in the OS palette — force it dark so
   190 country options don't flash white. */
.flrc-select option { background: #16090f; color: var(--flrc-text); }

/* Pills */
.flrc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.flrc-pill { position: relative; display: inline-flex; cursor: pointer; }
.flrc-pill input {
	position: absolute;
	opacity: 0;
	width: 100%; height: 100%;
	margin: 0; cursor: pointer;
}
.flrc-pill span {
	display: inline-block;
	padding: 11px 18px;
	background: rgba(255,255,255,.05);
	border: 1px solid var(--flrc-line);
	border-radius: 999px;
	font-size: 15px;
	line-height: 1.35;
	color: #CBB4C4;
	transition: all .18s;
}
.flrc-pill:hover span { border-color: rgba(194,24,91,.55); color: var(--flrc-text); }
.flrc-pill input:focus-visible + span { outline: 2px solid var(--flrc-rose-lt); outline-offset: 2px; }
.flrc-pill input:checked + span {
	background: var(--flrc-rose);
	border-color: var(--flrc-rose);
	color: #fff;
	font-weight: 500;
}
.flrc-pills.is-bad .flrc-pill span { border-color: #E4557A; }

.flrc-error {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: rgba(228,85,122,.12);
	border: 1px solid rgba(228,85,122,.45);
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: #FFD9E3;
}

.flrc-submit {
	display: block;
	width: 100%;
	padding: 16px 28px;
	background: var(--flrc-rose);
	border: none;
	border-radius: 999px;
	color: #fff;
	font-family: var(--flrc-body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .18s, transform .12s;
}
.flrc-submit:hover:not(:disabled) { background: var(--flrc-rose-lt); }
.flrc-submit:active:not(:disabled) { transform: translateY(1px); }
.flrc-submit:disabled { opacity: .55; cursor: default; }

.flrc-fineprint {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--flrc-muted);
	text-align: center;
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.flrc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Post-submit panel */
.flrc-done { text-align: center; }
.flrc-done h2 {
	margin: 0 0 16px;
	font-family: var(--flrc-display);
	font-weight: 300;
	font-size: clamp(30px, 4.6vw, 42px);
	line-height: 1.15;
	color: var(--flrc-text);
}
.flrc-done p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; color: #CBB4C4; }
.flrc-done b { color: var(--flrc-text); }

/* ── Compact CTA card (chatbot / quiz / any page) ───────────────────────── */
.flrc-cta {
	max-width: 620px;
	margin: 40px auto;
	padding: clamp(24px, 3.4vw, 34px);
	background: linear-gradient(160deg, #170a12 0%, #0d0510 100%);
	border: 1px solid rgba(194,24,91,.34);
	border-radius: 18px;
	font-family: var(--flrc-body);
	text-align: center;
}
.flrc-cta-kicker {
	margin: 0 0 10px;
	font-size: 11px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--flrc-gold);
}
.flrc-cta-head {
	margin: 0 0 12px;
	font-family: var(--flrc-display);
	font-weight: 300;
	font-size: clamp(26px, 3.6vw, 34px);
	line-height: 1.15;
	color: var(--flrc-text);
}
.flrc-cta-copy {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.7;
	color: #CBB4C4;
}
.flrc-cta-btn {
	display: inline-block;
	padding: 13px 32px;
	background: var(--flrc-rose);
	border-radius: 999px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background .18s;
}
.flrc-cta-btn:hover { background: var(--flrc-rose-lt); color: #fff !important; }
.flrc-cta-note { margin: 14px 0 0; font-size: 13px; color: var(--flrc-muted); }

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
	.flrc-rule { flex-direction: column; gap: 6px; padding: 24px 20px; }
	.flrc-num  { font-size: 40px; }
	.flrc-pull { padding-left: 16px; }
	.flrc-pills { gap: 8px; }
	.flrc-pill span { padding: 10px 15px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.flrc-wrap *, .flrc-cta * { transition: none !important; }
}
