/* /remote-tax-filing/ : a full-width navy hero with a "journey" card, a facts strip, an "on this page" bar, a horizontal step timeline, tinted and white
   bands, a dark privacy band and a modern intake form made of numbered panels with aligned fields and pill options. Prefix: rf-
   Sized in rem (base.html forces a 22px body). Hover motion only for a mouse, and only when motion is allowed. */

.rf-page {
    --rf-navy: #0b1f3a;
    --rf-navy-2: #12305a;
    --rf-cyan: #22d3ee;
    --rf-teal: #0e7490;      /* cyan-700: 5.4:1 on white */
    --rf-ink: #0f172a;
    --rf-text: #334155;
    --rf-tint: #f0f9ff;
    --rf-edge: #cfe8f3;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rf-ink);
}
/* base.html sets overflow-x: hidden on html and body, which stops position: sticky; `clip` keeps the same protection (as on the calculator pages) */
html:root, html:root body { overflow-x: clip; }
.rf-page [hidden] { display: none !important; }
.rf-page input, .rf-page select, .rf-page textarea, .rf-page button { font-family: inherit; }

/* one wide column for every band, like the calculator and service pages, so the content fills the screen */
.rf-wrap { width: 100%; max-width: 1760px; margin: 0 auto; padding-left: clamp(1.25rem, 5vw, 4.5rem); padding-right: clamp(1.25rem, 5vw, 4.5rem); }
@media (min-width: 1280px) { .rf-wrap { padding-right: max(clamp(1.25rem, 5vw, 4.5rem), 108px); } }   /* clear of the floating chat buttons */

/* ---- Buttons ---- */
.rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.6rem 1.4rem; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.rf-btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.rf-btn-primary { background: var(--rf-cyan); color: var(--rf-navy); }
.rf-btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.rf-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--rf-navy-2); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .rf-btn:hover { transform: translateY(-2px); }
    .rf-btn-primary:hover { background: #67e8f9; box-shadow: 0 10px 24px -8px rgba(34, 211, 238, 0.55); }
    .rf-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #ffffff; }
}
.rf-btn:active { transform: scale(0.97); }

/* ---- Hero ---- */
.rf-hero { position: relative; overflow: hidden; padding: clamp(2rem, 4.5vw, 3.75rem) 0 0; background: radial-gradient(1000px 520px at 92% -12%, rgba(34, 211, 238, 0.26), rgba(34, 211, 238, 0) 70%), radial-gradient(700px 400px at -6% 110%, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0) 70%), linear-gradient(160deg, var(--rf-navy) 0%, var(--rf-navy-2) 100%); color: #ffffff; }
.rf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; align-items: center; }
@media (min-width: 1000px) { .rf-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); } }
.rf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 1rem; font-size: 0.875rem; color: #b6c9e0; }
.rf-crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: #7dd3fc; text-decoration: none; }
.rf-crumbs a:hover, .rf-crumbs a:focus-visible { text-decoration: underline; }
.rf-eyebrow { display: inline-block; margin: 0 0 0.9rem; padding: 0.25rem 0.8rem; border: 1px solid rgba(125, 211, 252, 0.45); border-radius: 999px; color: #a5f3fc; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rf-hero h1 { max-width: 21ch; margin: 0 0 1rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700; line-height: 1.1; color: #ffffff; }
.rf-lead { max-width: 64ch; margin: 0 0 1.25rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #d6e4f5; }
.rf-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 1.5rem; padding: 0; }
.rf-points li { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: #e6f1fb; }
.rf-points svg { width: 1.1rem; height: 1.1rem; padding: 2px; border-radius: 50%; background: var(--rf-cyan); color: var(--rf-navy); }
.rf-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* the journey card: five stops stacked, joined by a line that draws itself once */
.rf-journey { padding: clamp(1.25rem, 2.5vw, 1.85rem); border: 1px solid rgba(125, 211, 252, 0.28); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55); }
.rf-journey-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.rf-journey-title { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; font-weight: 700; color: #ffffff; }
.rf-journey-tag { padding: 0.15rem 0.7rem; border-radius: 999px; background: rgba(34, 211, 238, 0.18); color: #a5f3fc; font-size: 0.8rem; font-weight: 700; }
.rf-route { position: relative; list-style: none; margin: 0; padding: 0; }
.rf-route::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--rf-cyan), #7dd3fc); transform-origin: top; }
.rf-stop { position: relative; display: flex; align-items: center; gap: 1rem; padding: 0.55rem 0; }
.rf-stop-dot { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 2px solid var(--rf-cyan); border-radius: 50%; background: var(--rf-navy); color: var(--rf-cyan); }
.rf-stop-dot svg { width: 1.3rem; height: 1.3rem; }
.rf-stop-text { display: grid; line-height: 1.35; }
.rf-stop-text strong { font-size: 1.02rem; color: #ffffff; }
.rf-stop-text span { font-size: 0.92rem; color: #c4d6ea; }
.rf-journey-foot { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(125, 211, 252, 0.2); }
.rf-journey-foot span { padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #d6e4f5; font-size: 0.85rem; }
.rf-journey-foot b { color: #ffffff; }
@media (prefers-reduced-motion: no-preference) {
    .rf-route::before { animation: rf-draw 1.3s ease-out both; }
    .rf-stop { animation: rf-pop 0.5s ease-out both; animation-delay: calc(var(--i, 0) * 0.16s + 0.15s); }
    @keyframes rf-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes rf-pop { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
}

/* facts strip along the bottom of the hero */
.rf-facts { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; border-top: 1px solid rgba(125, 211, 252, 0.2); }
@media (min-width: 760px) { .rf-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rf-facts li { display: flex; align-items: center; gap: 0.9rem; padding: 1.25rem 1rem; }
@media (min-width: 760px) { .rf-facts li + li { border-inline-start: 1px solid rgba(125, 211, 252, 0.2); } .rf-facts li { justify-content: center; } }
.rf-facts strong { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; color: var(--rf-cyan); }
.rf-facts span { max-width: 22ch; font-size: 0.95rem; line-height: 1.35; color: #c4d6ea; }

/* ---- "On this page" bar ---- */
.rf-onpage { background: #ffffff; border-bottom: 1px solid var(--rf-edge); }
.rf-onpage .rf-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.rf-onpage-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; }
.rf-onpage ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.rf-onpage a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.2rem 0.85rem; border-radius: 999px; color: var(--rf-ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.rf-onpage a:hover, .rf-onpage a:focus-visible { background: var(--rf-tint); color: var(--rf-teal); }
.rf-onpage a:focus-visible { outline: 2px solid var(--rf-teal); outline-offset: 1px; }

/* ---- Bands ---- */
.rf-band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.rf-band-white { background: #ffffff; }
.rf-band-tint { background: var(--rf-tint); border-top: 1px solid var(--rf-edge); border-bottom: 1px solid var(--rf-edge); }
.rf-band-slim { padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.rf-band-dark { background: radial-gradient(800px 380px at 10% 0%, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0) 70%), linear-gradient(160deg, var(--rf-navy) 0%, var(--rf-navy-2) 100%); color: #e6f1fb; }
.rf-band-form { background: radial-gradient(900px 420px at 0% 0%, rgba(34, 211, 238, 0.20), rgba(34, 211, 238, 0) 70%), radial-gradient(800px 460px at 100% 100%, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0) 70%), linear-gradient(180deg, #e9f6fc 0%, #f6fbfe 100%); border-top: 1px solid var(--rf-edge); border-bottom: 1px solid var(--rf-edge); }
.rf-page h2 { margin: 0 0 0.6rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: clamp(1.45rem, 2.8vw, 2.05rem); font-weight: 700; line-height: 1.2; color: var(--rf-ink); }
.rf-band-dark h2 { color: #ffffff; }
.rf-page h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 700; color: var(--rf-ink); }
.rf-sub { max-width: 66ch; margin: 0 0 1.5rem; color: var(--rf-text); }
.rf-band-dark .rf-sub { color: #c4d6ea; }
.rf-after { margin: 1.25rem 0 0; color: var(--rf-text); }
.rf-after a, .rf-sub a, .rf-note a, .rf-or a, .rf-outside a { color: var(--rf-teal); font-weight: 600; }
.rf-after-dark { color: #c4d6ea; }
.rf-after-dark a { color: #7dd3fc; }
.rf-h2-gap { margin-top: 3rem !important; }

/* ---- Steps: a horizontal timeline on wide screens, a vertical one on narrow screens ---- */
.rf-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.rf-step { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.1rem; padding-bottom: 1.75rem; }
.rf-step:last-child { padding-bottom: 0; }
.rf-step::before { content: ""; position: absolute; left: 1.625rem; top: 3.25rem; bottom: 0.25rem; width: 2px; margin-left: -1px; background: var(--rf-edge); }
.rf-step:last-child::before { display: none; }
.rf-step-num { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--rf-navy); color: #ffffff; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.35rem; font-weight: 700; }
.rf-step-body { padding-top: 0.4rem; }
.rf-step-body p { margin: 0; color: var(--rf-text); }
@media (min-width: 1100px) {
    .rf-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
    .rf-step { display: block; padding: 0; }
    .rf-step::before { left: 3.25rem; right: -1.5rem; top: 1.625rem; bottom: auto; width: auto; height: 2px; margin: 0 0 0 0.5rem; }
    .rf-step-num { margin-bottom: 1rem; }
    .rf-step-body { padding-top: 0; }
}

/* ---- Document cards ---- */
.rf-three { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
@media (min-width: 760px) { .rf-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1200px) { .rf-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rf-card { padding: clamp(1.1rem, 3vw, 1.6rem); background: #ffffff; border: 1px solid var(--rf-edge); border-radius: 18px; }
.rf-card-soft { background: linear-gradient(160deg, #ffffff, #e6f6fc); }
.rf-card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.rf-card h3 svg { width: 1.5rem; height: 1.5rem; padding: 0.3rem; box-sizing: content-box; border-radius: 10px; background: var(--rf-tint); color: var(--rf-teal); }
.rf-checks { list-style: none; margin: 0; padding: 0; }
.rf-checks li { position: relative; padding: 0.35rem 0 0.35rem 1.9rem; color: var(--rf-text); }
.rf-checks svg { position: absolute; left: 0; top: 0.5rem; width: 1.25rem; height: 1.25rem; padding: 2px; border-radius: 50%; background: #cffafe; color: #0e7490; }

/* ---- Who it is for ---- */
.rf-who { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 1.25rem 0 0; padding: 0; }
@media (min-width: 640px) { .rf-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rf-who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.rf-who-card { padding: 1.25rem 1.35rem; border: 1.5px solid var(--rf-edge); border-radius: 16px; background: #ffffff; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.rf-who-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: 0.8rem; border-radius: 14px; background: var(--rf-tint); color: var(--rf-teal); }
.rf-who-icon svg { width: 1.5rem; height: 1.5rem; }
.rf-who-card p { margin: 0; color: var(--rf-text); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .rf-who-card:hover { transform: translateY(-4px) scale(1.015); border-color: #67c5df; box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 14px 26px -8px rgba(15, 23, 42, 0.2), 0 28px 48px -14px rgba(14, 116, 144, 0.28); }
    .rf-who-card:hover .rf-who-icon { background: linear-gradient(135deg, #0e7490, #22d3ee); color: #ffffff; }
}

/* ---- Cost ---- */
.rf-cost { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: center; }
@media (min-width: 900px) { .rf-cost { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; } }
.rf-cost p { margin: 0; color: var(--rf-text); }
.rf-promises { list-style: none; display: grid; gap: 0.5rem; margin: 0; padding: 0; }
.rf-promises li { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; border: 1px solid var(--rf-edge); border-radius: 12px; background: #ffffff; font-weight: 600; color: var(--rf-ink); }
.rf-promises svg { flex-shrink: 0; width: 1.3rem; height: 1.3rem; padding: 3px; border-radius: 50%; background: #cffafe; color: #0e7490; }

/* ---- Privacy band ---- */
.rf-secure { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 0; padding: 0; }
@media (min-width: 760px) { .rf-secure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1400px) { .rf-secure { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rf-secure li { display: flex; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid rgba(125, 211, 252, 0.25); border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
@media (min-width: 1400px) { .rf-secure li { flex-direction: column; } }
.rf-secure-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgba(34, 211, 238, 0.16); color: var(--rf-cyan); }
.rf-secure-icon svg { width: 1.4rem; height: 1.4rem; }
.rf-secure h3 { color: #ffffff; }
.rf-secure p { margin: 0; color: #c4d6ea; }

/* ---- The form ---- */
.rf-formgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (min-width: 1000px) { .rf-formgrid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3vw, 3rem); } }
@media (min-width: 1000px) { .rf-formside { position: sticky; top: 150px; } }
.rf-formside { padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: 22px; background: linear-gradient(165deg, var(--rf-navy) 0%, var(--rf-navy-2) 100%); color: #d6e4f5; box-shadow: 0 24px 56px -28px rgba(11, 31, 58, 0.65); }
.rf-formside h2 { color: #ffffff; }
.rf-formside .rf-sub { color: #c4d6ea; }
.rf-next { list-style: none; counter-reset: rfn; margin: 0 0 1.5rem; padding: 0; }
.rf-next li { counter-increment: rfn; position: relative; display: grid; gap: 0.1rem; padding: 0 0 1.1rem 2.9rem; color: #c4d6ea; }
.rf-next li::before { content: counter(rfn); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rf-cyan); color: var(--rf-navy); font-size: 0.95rem; font-weight: 800; }
.rf-next strong { color: #ffffff; }
.rf-secure-note { display: flex; gap: 0.7rem; margin: 0 0 1.1rem; padding: 0.9rem 1rem; border: 1px solid rgba(125, 211, 252, 0.3); border-radius: 14px; background: rgba(255, 255, 255, 0.06); color: #d6e4f5; font-size: 0.95rem; }
.rf-secure-note svg { flex-shrink: 0; width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; color: var(--rf-cyan); }
.rf-or { margin: 0; color: #c4d6ea; }
.rf-formside .rf-or a { color: #7dd3fc; }

.rf-form { padding: clamp(1rem, 2.5vw, 1.75rem); background: #ffffff; border: 1px solid var(--rf-edge); border-radius: 24px; box-shadow: 0 28px 60px -28px rgba(11, 31, 58, 0.35); }
.rf-panel { min-width: 0; margin: 0 0 1rem; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid #dcecf4; border-radius: 18px; background: linear-gradient(180deg, #f4fafd 0%, #eef7fb 100%); }
.rf-panel-head { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.1rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; }
.rf-panel-num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--rf-navy), var(--rf-teal)); color: #ffffff; font-size: 0.95rem; font-weight: 700; }
.rf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
@media (min-width: 640px) { .rf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rf-grid-1 { grid-template-columns: minmax(0, 1fr) !important; }
.rf-field { min-width: 0; margin-bottom: 1.1rem; }
.rf-field-last { margin-bottom: 0; }
.rf-field > label, .rf-label { display: block; margin: 0 0 0.4rem; font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--rf-ink); }
.rf-req { color: #b91c1c; }
.rf-opt { font-weight: 400; color: #64748b; font-size: 0.9em; }
.rf-field input[type="text"], .rf-field input[type="email"], .rf-field input[type="tel"], .rf-field select, .rf-field textarea {
    display: block; width: 100%; min-height: 52px; padding: 0.65rem 0.95rem; border: 1.5px solid #a9c3d1; border-radius: 12px; background-color: #ffffff; color: var(--rf-ink); font-size: 1rem; line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rf-field select {
    -webkit-appearance: none; appearance: none; padding-right: 2.9rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.15rem;
}
.rf-field textarea { min-height: 7.5rem; resize: vertical; }
.rf-field input::placeholder, .rf-field textarea::placeholder { color: #64748b; }
.rf-field input:focus, .rf-field select:focus, .rf-field textarea:focus { outline: none; border-color: var(--rf-teal); box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.18); }
.rf-field.has-error input, .rf-field.has-error select, .rf-consent.has-error { border-color: #b91c1c; }
.rf-error { margin: 0.35rem 0 0; font-size: 0.9rem; font-weight: 600; color: #b91c1c; }
.rf-error-box { padding: 0.8rem 1rem; border: 1px solid #fca5a5; border-radius: 12px; background: #fef2f2; }
.rf-note { margin: 0.25rem 0 0; padding: 0.8rem 1rem; border: 1px solid #bae6fd; border-radius: 12px; background: #ffffff; color: var(--rf-text); font-size: 0.95rem; }
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pill options: every pill in a row has the same height and the columns line up */
.rf-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 0.6rem; }
.rf-pills-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rf-pills-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
.rf-pill { position: relative; display: flex; margin: 0; }
.rf-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rf-pill span { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.45rem 1rem; border: 1.5px solid #a9c3d1; border-radius: 999px; background: #ffffff; color: var(--rf-ink); font-size: 0.95rem; font-weight: 600; line-height: 1.25; text-align: center; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.rf-pill span::before { content: ""; flex-shrink: 0; width: 1.1rem; height: 1.1rem; border: 2px solid #9fb6c4; border-radius: 50%; background: #ffffff center / 70% no-repeat; transition: background-color 0.2s ease, border-color 0.2s ease; }
.rf-pill input:checked + span { border-color: var(--rf-navy); background: linear-gradient(135deg, var(--rf-navy) 0%, #164e63 100%); color: #ffffff; box-shadow: 0 8px 18px -10px rgba(11, 31, 58, 0.7); }
.rf-pill input:checked + span::before { border-color: var(--rf-cyan); background-color: var(--rf-cyan); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7.5'/%3E%3C/svg%3E"); }
.rf-pill input:focus-visible + span { outline: 3px solid var(--rf-teal); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .rf-pill input:not(:checked) + span:hover { border-color: var(--rf-teal); background: var(--rf-tint); transform: translateY(-2px); }
}
.rf-pill span:active { transform: scale(0.97); }

.rf-consent { margin: 0 0 1.1rem; padding: 0.95rem 1.1rem; border: 1.5px solid #cfe0e8; border-radius: 14px; background: #f8fcfe; }
.rf-consent label { display: flex; align-items: flex-start; gap: 0.8rem; margin: 0; cursor: pointer; color: var(--rf-text); font-size: 0.95rem; }
.rf-consent input { flex-shrink: 0; width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; accent-color: var(--rf-navy); }
.rf-consent a { color: var(--rf-teal); font-weight: 600; }
.rf-submit { width: 100%; min-height: 56px; background: linear-gradient(135deg, var(--rf-navy) 0%, var(--rf-teal) 100%); color: #ffffff; font-size: 1.05rem; }
.rf-submit:focus-visible { outline: 3px solid var(--rf-teal); box-shadow: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .rf-submit:hover { box-shadow: 0 14px 28px -10px rgba(11, 31, 58, 0.65); } }
.rf-submit[disabled] { opacity: 0.7; cursor: wait; }
.rf-fine { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0.9rem 0 0; color: #475569; font-size: 0.85rem; text-align: center; }
.rf-fine svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---- FAQ and sources ---- */
.rf-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; align-items: start; margin-top: 1.25rem; }
@media (min-width: 760px) { .rf-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .rf-faq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rf-faq .faq-rd-toggle { padding: 1rem 1.1rem; }
.rf-faq .faq-rd-question { font-size: 0.98rem; }
.rf-sources { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; margin: 0; padding: 0; }
@media (min-width: 640px) { .rf-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rf-sources { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rf-sources a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 100%; padding: 0.9rem 1.1rem; border: 1px solid var(--rf-edge); border-radius: 12px; background: #ffffff; color: var(--rf-ink); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.rf-sources a::after { content: "\2197"; flex-shrink: 0; color: var(--rf-teal); font-size: 1.1rem; }
.rf-sources a:focus-visible { outline: 2px solid var(--rf-teal); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .rf-sources a:hover { border-color: #67c5df; color: var(--rf-teal); transform: translateY(-2px); } }
.rf-outside { display: grid; gap: 0.2rem; margin-top: 2rem; padding: 1rem 1.25rem; border: 1px dashed #7aa7bb; border-radius: 14px; background: var(--rf-tint); color: var(--rf-text); }
.rf-outside strong { color: var(--rf-ink); }

@media (prefers-reduced-motion: reduce) {
    .rf-btn, .rf-who-card, .rf-pill span, .rf-sources a, .rf-onpage a { transition: none; }
}
@media (max-width: 600px) {
    .rf-wrap { padding-left: 1rem; padding-right: 1rem; }
    .rf-hero h1 { max-width: none; }
    .rf-actions .rf-btn { flex: 1 1 100%; }
    .rf-pills.rf-pills-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rf-pills-3 .rf-pill span, .rf-pills-4 .rf-pill span { padding: 0.45rem 0.5rem; font-size: 0.9rem; }
    .rf-pills-3 .rf-pill span::before { display: none; }
    .rf-pills { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
    .rf-step { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.8rem; }
    .rf-step::before { left: 1.3rem; top: 2.6rem; }
    .rf-step-num { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
    .rf-form { padding: 0.75rem; border-radius: 18px; }
    .rf-panel { padding: 1rem 0.9rem; }
    .rf-facts li { padding: 1rem 0.25rem; }
}
