/* Refer a friend — layout D "Hand on our card" (approved 2 Oct 2026). Scoped to main.crf. */
.crf {
	--crf-bg: #FFFFFF; --crf-soft: #F1F4F9; --crf-card: #FFFFFF; --crf-ink: #0B1A2E; --crf-body: #3A4659; --crf-muted: #566175;
	--crf-line: #E1E7F0; --crf-line2: #C9D3E2; --crf-blue: #1D63FF; --crf-blue-text: #1D55E0; --crf-blue-soft: #EEF4FF;
	--crf-navy: #0A1628; --crf-gold: #F6C85F; --crf-warn-bg: #FFF7E0; --crf-warn: #4A3A12; --crf-warn-ic: #8A5A00; --crf-onnavy: #C3CCDA; --crf-red: #B42318;
	--crf-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--crf-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--crf-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
	--crf-pad: clamp(20px, 5.6vw, 80px);
	display: block; background: var(--crf-bg); color: var(--crf-ink); font-family: var(--crf-text); font-size: 16px; line-height: 1.55;
}
html[data-ccl-theme="dark"] .crf {
	--crf-bg: #0B1220; --crf-soft: #0F192B; --crf-card: #111D35; --crf-ink: #E8EDF5; --crf-body: #C9D2DF; --crf-muted: #9AA6B8;
	--crf-line: #22304A; --crf-line2: #2A3A58; --crf-blue-text: #7DA4FF; --crf-blue-soft: #16223A; --crf-navy: #070E1A;
	--crf-warn-bg: rgba(246,200,95,0.12); --crf-warn: #F3E3B5; --crf-warn-ic: #F6C85F; --crf-red: #FF8A80;
}
.crf *, .crf *::before, .crf *::after { box-sizing: border-box; }
.crf h1, .crf h2, .crf h3, .crf p, .crf ul { margin: 0; }
.crf ul { padding: 0; list-style: none; }
.crf a { color: inherit; text-decoration: none; }
.crf a:focus-visible, .crf button:focus-visible, .crf summary:focus-visible { outline: 3px solid var(--crf-blue); outline-offset: 3px; border-radius: 6px; }
.crf [hidden] { display: none !important; }
.crf-ic { flex: none; display: block; }
.crf-wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--crf-pad); box-sizing: content-box !important; }
.crf-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crf-blue-text); }
.crf h2 { font-family: var(--crf-display); font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; color: var(--crf-ink); }

/* Buttons */
.crf .crf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 800; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.crf a.crf-btn[href^="tel:"], .crf a.crf-btn[href^="mailto:"], .crf a.crf-btn[href^="sms:"] { min-height: 54px !important; }
.crf .crf-btn--gold { background: var(--crf-gold); color: #0A1628; }
.crf .crf-btn--gold:hover { background: #F2BB3A; }
.crf .crf-btn--primary { background: var(--crf-blue); color: #FFFFFF; }
.crf .crf-btn--primary:hover { background: #1550D6; }
.crf .crf-btn--primary.is-loading { opacity: .7; pointer-events: none; }
.crf .crf-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.35); color: #FFFFFF; }
.crf .crf-btn--ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.06); }

/* Hero */
.crf-hero { background: var(--crf-navy); color: #FFFFFF; padding: 28px 0 80px; }
.crf-back { display: none; }
.crf-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--crf-onnavy); }
.crf-crumb a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.crf-crumb a:hover { color: #FFFFFF; }
.crf-crumb [aria-current] { color: #FFFFFF; font-weight: 600; }
.crf-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; margin-top: 44px; }
.crf-hero__text { display: flex; flex-direction: column; gap: 20px; }
.crf-hero .crf-eyebrow { color: var(--crf-gold); }
.crf-hero h1 { font-family: var(--crf-display); font-size: clamp(38px, 4vw, 56px); font-weight: 900; line-height: 1.04; letter-spacing: -0.025em; color: #FFFFFF; }
.crf-lead { font-size: 20px; line-height: 1.6; color: var(--crf-onnavy); }
.crf-share { display: flex; flex-wrap: wrap; gap: 10px; }
.crf-or { font-size: 14.5px; color: #8E9AAE; }
.crf-or a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.crf-card { justify-self: center; width: 460px; max-width: 100%; min-height: 270px; border-radius: 22px; background: linear-gradient(135deg, #FFFFFF, #EEF2F8); box-shadow: 0 30px 60px rgba(0,0,0,0.35); padding: 28px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-2deg); color: #0B1A2E; }
.crf-card__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--crf-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #566175; }
.crf-card__top .crf-ic { color: #1D63FF; }
.crf-card__name { font-family: var(--crf-display); font-size: 30px; font-weight: 900; line-height: 1.1; }
.crf-card__text { font-size: 15px; line-height: 1.5; color: #566175; }
.crf-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.crf-card__tel { font-family: var(--crf-display); font-size: 26px; font-weight: 900; color: #1D63FF; }
.crf-card__web { font-size: 13px; font-weight: 700; color: #566175; }

/* No-fee note */
.crf-nofee { padding: 64px 0 0; }
.crf-nofee__box { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; border-radius: 14px; background: var(--crf-warn-bg); font-size: 16px; line-height: 1.55; color: var(--crf-warn); }
.crf-nofee__box .crf-ic { color: var(--crf-warn-ic); margin-top: 1px; }

/* Tell */
.crf-tell { padding: 64px 0 80px; }
.crf-tell .crf-wrap { display: flex; flex-direction: column; gap: 12px; }
.crf-tell__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 16px !important; }
.crf-tell__grid li { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; background: var(--crf-card); border: 1px solid var(--crf-line); }
.crf-tell__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--crf-blue-soft); color: var(--crf-blue-text); display: flex; align-items: center; justify-content: center; }
.crf-tell__grid h3 { font-size: 20px; font-weight: 800; color: var(--crf-ink); }
.crf-tell__grid p { font-size: 15.5px; line-height: 1.6; color: var(--crf-muted); }

/* Form */
.crf-form { background: var(--crf-soft); padding: 72px 0; scroll-margin-top: 90px; }
.crf-form__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.crf-form__intro { display: flex; flex-direction: column; gap: 14px; }
.crf-form__intro > p:not(.crf-eyebrow) { font-size: 17px; line-height: 1.6; color: var(--crf-muted); }
.crf-cardform { padding: 32px; border-radius: 20px; background: var(--crf-card); border: 1px solid var(--crf-line); box-shadow: 0 20px 48px rgba(10,22,40,0.10); }
.crf #crfForm { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; background: none; box-shadow: none; }
.crf .crf-cardform__t { font-family: var(--crf-display); font-size: 26px; font-weight: 900; color: var(--crf-ink); }
.crf-cardform__s { margin-top: 4px !important; font-size: 14.5px; color: var(--crf-muted); }
.crf-group-h { margin-top: 6px !important; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crf-muted); }
.crf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crf-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.crf .crf-label { display: block; margin: 0; font-size: 14px; font-weight: 700; color: var(--crf-ink) !important; }
.crf .crf-req::after, .crf .crf-star { content: " *"; color: var(--crf-red); }
.crf .crf-input { width: 100%; min-height: 52px; margin: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--crf-line2) !important; background: var(--crf-card); font: inherit; font-size: 16px; color: var(--crf-ink); box-shadow: none; }
.crf .crf-textarea { min-height: 96px; resize: vertical; }
.crf .crf-input:focus { outline: none; border-color: var(--crf-blue) !important; box-shadow: 0 0 0 4px rgba(29,99,255,0.15); }
.crf .crf-input[aria-invalid="true"] { border-color: var(--crf-red) !important; }
.crf .crf-input::placeholder { color: #8E9AAE; opacity: 1; }
.crf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.crf-pill { position: relative; }
.crf-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.crf .crf-pill label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1px solid var(--crf-line2); background: var(--crf-card); font-size: 15px; font-weight: 700; color: var(--crf-ink); cursor: pointer; transition: border-color .15s; }
.crf .crf-pill label::before { content: none; }
.crf .crf-pill label:hover { border-color: var(--crf-blue); }
.crf .crf-pill input:checked + label { border: 2px solid var(--crf-blue); background: var(--crf-blue-soft); color: var(--crf-blue-text); padding: 0 15px; }
.crf .crf-pill input:checked + label::before { content: ""; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.crf .crf-pill input:focus-visible + label { outline: 3px solid var(--crf-blue); outline-offset: 2px; }
.crf-pills.is-invalid label { border-color: var(--crf-red); }
.crf-consent { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--crf-blue-soft); font-size: 15px; line-height: 1.5; color: var(--crf-ink); cursor: pointer; }
.crf-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.crf-consent__box { flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 6px; border: 2px solid var(--crf-blue); background: var(--crf-card); color: transparent; display: flex; align-items: center; justify-content: center; }
.crf-consent input:checked + .crf-consent__box { background: var(--crf-blue); color: #FFFFFF; }
.crf-consent input:focus-visible + .crf-consent__box { outline: 3px solid var(--crf-blue); outline-offset: 2px; }
.crf-error { padding: 12px 16px; border-radius: 10px; background: #FEECEC; font-size: 14.5px; font-weight: 700; color: #B42318; }
html[data-ccl-theme="dark"] .crf-error { background: rgba(255,138,128,0.12); color: #FF8A80; }
.crf-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.crf-actions span { font-size: 14px; color: var(--crf-muted); }
.crf-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.crf-done__ic { width: 60px; height: 60px; border-radius: 50%; background: #E7F5EE; color: #1F7A4A; display: flex; align-items: center; justify-content: center; }
.crf .crf-done h3 { font-family: var(--crf-display); font-size: 28px; font-weight: 900; color: var(--crf-ink); outline: none; }
.crf-done p { font-size: 17px; line-height: 1.6; color: var(--crf-body); }

/* FAQ */
.crf-faq { padding: 80px 0; }
.crf-faq__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.crf-faq__grid > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.crf-faq__sub { font-size: 17px; line-height: 1.6; color: var(--crf-muted); }
.crf-faq__list { border-bottom: 1px solid var(--crf-line); }
.crf-q { border-top: 1px solid var(--crf-line); }
.crf-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--crf-ink); }
.crf-q summary::-webkit-details-marker { display: none; }
.crf-q summary:hover { color: var(--crf-blue-text); }
.crf-q__chev { flex: none; color: var(--crf-blue-text); transition: transform .2s; }
.crf-q[open] .crf-q__chev { transform: rotate(180deg); }
.crf-q > p { padding: 0 48px 20px 0; font-size: 16.5px; line-height: 1.65; color: var(--crf-muted); }

/* CTA */
.crf-end { padding: 0 0 88px; }
.crf-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 56px; border-radius: 24px; background: #0A1628; }
html[data-ccl-theme="dark"] .crf-cta { background: #111D35; border: 1px solid #2A3A58; }
.crf-cta__text { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.crf .crf-cta h2 { color: #FFFFFF; font-size: clamp(26px, 2.6vw, 38px); }
.crf-cta p { font-size: 17px; line-height: 1.6; color: var(--crf-onnavy); }
.crf .crf-cta__note { font-size: 13.5px; color: #8E9AAE; }
.crf-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

@media (max-width: 1180px) {
	.crf-hero__row { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
	.crf-card { width: 400px; }
	.crf-form__grid, .crf-faq__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
	.crf-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
	.crf-hero__row { grid-template-columns: 1fr; }
	.crf-tell__grid { grid-template-columns: 1fr; }
	.crf-form__grid, .crf-faq__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
	.crf { --crf-pad: 20px; }
	.crf-hero { padding: 12px 0 36px; }
	.crf-crumb { display: none; }
	.crf-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 700; color: var(--crf-onnavy); }
	.crf-hero__row { display: flex; flex-direction: column; align-items: stretch; margin-top: 8px; gap: 18px; }
	.crf-hero__text { display: contents; }
	.crf-hero__text > * { order: 1; }
	.crf-card { order: 2; width: auto; min-height: 0; margin: 4px 4px 10px; padding: 20px; gap: 8px; border-radius: 20px; }
	.crf-card__top { font-size: 10.5px; }
	.crf-card__name { font-size: 23px; }
	.crf-card__text { font-size: 13px; line-height: 1.45; }
	.crf-card__tel { font-size: 21px; }
	.crf-card__web { font-size: 11.5px; }
	.crf-hero .crf-share { order: 3; }
	.crf-hero .crf-or { order: 4; }
	.crf-hero h1 { font-size: 34px; line-height: 1.06; }
	.crf-lead { font-size: 16.5px; }
	.crf-share { flex-direction: column; }
	.crf-share .crf-btn { width: 100%; }

	.crf-nofee { padding: 28px 0 0; }
	.crf-nofee__box { padding: 16px 18px; font-size: 15px; }
	.crf-tell { padding: 36px 0; }
	.crf-tell__grid { gap: 0; margin-top: 4px !important; }
	.crf-tell__grid li { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; padding: 16px 0; border: 0; border-top: 1px solid var(--crf-line); border-radius: 0; background: none; }
	.crf-tell__ic { width: auto; height: auto; background: none; }
	.crf-tell__grid h3 { flex: 1; font-size: 16.5px; }
	.crf-tell__grid p { flex-basis: 100%; padding-left: 38px; font-size: 15px; }

	.crf-form { padding: 32px 0; }
	.crf .crf-form__intro h2 { font-size: 28px; }
	.crf-form__intro > p:not(.crf-eyebrow) { font-size: 15px; }
	.crf-cardform { padding: 22px; border-radius: 18px; box-shadow: 0 14px 32px rgba(10,22,40,0.08); }
	.crf .crf-cardform__t { font-size: 22px; }
	.crf-two { grid-template-columns: 1fr; }
	.crf-actions { flex-direction: column-reverse; align-items: stretch; }
	.crf-actions .crf-btn { width: 100%; }

	.crf-faq { padding: 40px 0; }
	.crf .crf-faq h2 { font-size: 28px; }
	.crf-faq__sub { display: none; }
	.crf-q summary { min-height: 60px; padding: 14px 0; font-size: 16.5px; }
	.crf-q > p { padding: 0 0 16px; font-size: 15.5px; line-height: 1.6; }

	.crf-end { padding: 0 0 48px; }
	.crf-cta { padding: 28px 22px; border-radius: 20px; gap: 14px; }
	.crf .crf-cta h2 { font-size: 26px; }
	.crf-cta p { font-size: 15.5px; line-height: 1.55; }
	.crf-cta__btns { flex-direction: column; width: 100%; gap: 10px; }
	.crf-cta__btns .crf-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.crf .crf-btn, .crf-q__chev, .crf .crf-pill label { transition: none; }
}
