/* =================================================================
   Orenda Reflections — public district report
   Scoped under .rfl-shell; rfl-* prefix; --rfl-* tokens.
   Self-contained (no bootstrap, no site.css): the page follows the
   Reflections prototype — solid brand-blue header and hero, an
   overlapping snapshot card, white insight cards, orange CTA.
   Light only; built to be printed.
   ================================================================= */

.rfl-shell {
    --rfl-blue: #041FBF;
    --rfl-blue-deep: #02127A;
    --rfl-blue-mid: #2B47D6;
    --rfl-cyan: #29E2F0;
    --rfl-teal: #0FA9B8;
    --rfl-yellow: #FEC400;
    --rfl-green: #39B54A;
    --rfl-orange: #F45418;
    --rfl-orange-soft: #F48A2E;
    --rfl-red: #C62828;
    --rfl-cta: #C9400C;
    --rfl-ink: #0B1233;
    --rfl-muted: #4A5170;
    --rfl-faint: #8A93AE;
    --rfl-ground: #F4F6FC;
    --rfl-ground-2: #EEF1FE;
    --rfl-track: #E3E7F3;
    --rfl-line: #DDE2F0;
    --rfl-line-soft: #D5DAEA;
    --rfl-hero-text: #DCE6FF;
    --rfl-up: #1E7A2B;
    --rfl-down: #9A2D05;
    --rfl-radius-card: 18px;
    --rfl-radius-tile: 12px;

    margin: 0;
    background: #FFFFFF;
    color: var(--rfl-ink);
    font-family: Poppins, 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
.rfl-shell *, .rfl-shell *::before, .rfl-shell *::after { box-sizing: border-box; }
.rfl-shell h1, .rfl-shell h2, .rfl-shell h3 { text-wrap: balance; margin: 0; }
.rfl-shell p { margin: 0; }
.rfl-shell a { color: var(--rfl-blue); }
.rfl-shell a:hover { color: var(--rfl-blue-deep); }
.rfl-shell a:focus-visible, .rfl-shell button:focus-visible { outline: 3px solid var(--rfl-cyan); outline-offset: 2px; }
.rfl-shell img, .rfl-shell svg { max-width: 100%; }

.rfl-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.rfl-nowrap { white-space: nowrap; }
.rfl-muted { color: var(--rfl-muted); font-size: 15px; line-height: 1.6; }
.rfl-up { color: var(--rfl-up); }
.rfl-down { color: var(--rfl-down); }

.rfl-skip {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: #FFFFFF; color: var(--rfl-blue); padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.rfl-skip:focus { left: 16px; }

/* ── Top bar ────────────────────────────────────────────────────── */
.rfl-topbar { background: var(--rfl-blue); color: #FFFFFF; }
.rfl-topbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: 18px;
}
.rfl-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #FFFFFF; text-decoration: none; }
.rfl-brand-logo { height: 52px; width: auto; display: block; }
.rfl-brand-tagline { font-size: 10px; line-height: 1.2; white-space: nowrap; letter-spacing: .02em; }
.rfl-topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rfl-topbar-meta { font-size: 13px; color: var(--rfl-hero-text); text-align: right; line-height: 1.5; }
.rfl-print-btn {
    font: inherit; font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #FFFFFF;
    border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
    padding: 8px 16px; cursor: pointer;
}
.rfl-print-btn:hover { background: rgba(255,255,255,.12); }

/* ── Hero ───────────────────────────────────────────────────────── */
.rfl-hero { background: var(--rfl-blue); color: #FFFFFF; padding-top: 48px; }
.rfl-hero--short { padding-bottom: 64px; }
.rfl-hero-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.rfl-pill {
    display: inline-block;
    background: rgba(41,226,240,.16); color: var(--rfl-cyan);
    border: 1px solid rgba(41,226,240,.5);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.rfl-pill--soft { background: #E6EAFE; color: var(--rfl-blue); border: 0; font-size: 12px; letter-spacing: .06em; padding: 6px 12px; }
.rfl-h1 { font-size: clamp(34px, 4.8vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; max-width: 860px; }
.rfl-hero-lede { font-size: 18px; line-height: 1.6; color: var(--rfl-hero-text); max-width: 640px; }

.rfl-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 16px; text-decoration: none;
    min-height: 52px; padding: 0 28px; border-radius: 999px;
}
.rfl-btn--light { background: #FFFFFF; color: var(--rfl-blue); }
.rfl-btn--light:hover { color: var(--rfl-blue-deep); }
/* Specificity beats the .rfl-shell a color rule: white text on the orange pill. */
.rfl-shell a.rfl-btn--cta { background: var(--rfl-cta); color: #FFFFFF; align-self: flex-start; }
.rfl-shell a.rfl-btn--cta:hover { color: #FFFFFF; background: #A83409; }
.rfl-shell a.rfl-btn--light { color: var(--rfl-blue); }

/* ── Snapshot card (overlaps the hero's bottom edge) ───────────── */
.rfl-snapshot-wrap { margin-top: 56px; }
.rfl-snapshot {
    background: var(--rfl-ground); color: var(--rfl-ink);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    box-shadow: 0 -10px 40px rgba(2,10,60,.25);
    display: flex; flex-direction: column; gap: 16px;
}
.rfl-snapshot-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rfl-snapshot-head > div { display: flex; flex-direction: column; gap: 2px; }
.rfl-snapshot-kicker { font-size: 16px; color: var(--rfl-blue); font-weight: 600; }
.rfl-snapshot-title { font-weight: 700; font-size: 22px; line-height: 1.3; }
.rfl-tag-year { font-size: 12px; font-weight: 600; color: #6B3A00; background: #FFF3CC; padding: 4px 10px; border-radius: 999px; }

.rfl-finding {
    background: #FFFFFF; border-radius: var(--rfl-radius-tile); padding: 14px 16px;
    display: flex; align-items: flex-start; gap: 12px;
}
.rfl-finding svg { flex-shrink: 0; margin-top: 2px; }
.rfl-finding p { font-size: 16px; line-height: 1.5; font-weight: 600; }
.rfl-finding p span { color: var(--rfl-blue); }

.rfl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.rfl-tile { background: #FFFFFF; border-radius: var(--rfl-radius-tile); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rfl-tile-label { font-size: 13px; color: var(--rfl-muted); }
.rfl-tile-value { font-size: 30px; font-weight: 700; color: var(--rfl-blue); line-height: 1.15; font-variant-numeric: tabular-nums; }
.rfl-value-alert { color: var(--rfl-cta); }
.rfl-tile-note { font-size: 12px; color: var(--rfl-muted); }

.rfl-snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.rfl-panel { background: #FFFFFF; border-radius: var(--rfl-radius-tile); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rfl-panel-title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.rfl-note { font-size: 12px; color: var(--rfl-muted); }

/* Horizontal bar lists (end-of-journey, A–G by group) */
.rfl-bars { display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--rfl-muted); }
.rfl-bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.rfl-bars--wide .rfl-bar-row { grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 10px; }
.rfl-bar-track { height: 18px; background: var(--rfl-track); border-radius: 4px; overflow: hidden; }
.rfl-bar-track--thin { height: 16px; }
.rfl-bar-fill { height: 100%; border-radius: 4px; }
.rfl-bar-val { text-align: right; color: var(--rfl-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* One row of equal-width tiles: each takes an equal share, labels wrap only at
   spaces (never mid-word), and the type is sized so "Graduation" / "Suspension"
   fit a sixth of the panel at desktop width. Phones fall back to three per row. */
.rfl-dash-tiles { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
/* Each tile is at least wide enough for the longest single word ("Suspensions"); when seven
   don't fit on one row the extras wrap to a second row instead of being clipped. */
.rfl-dash-tile { flex: 1 1 7rem; min-width: 7rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--rfl-track); display: flex; flex-direction: column; }
.rfl-dash-tile-label { padding: 6px 7px; color: var(--rfl-muted); flex: 1 1 auto; line-height: 1.25; overflow-wrap: anywhere; }
.rfl-dash-tile-level { font-weight: 600; padding: 7px 4px; text-align: center; white-space: nowrap; }

/* ── A closer look ──────────────────────────────────────────────── */
.rfl-closer { padding-block: 72px; }
.rfl-section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 36px; }
.rfl-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rfl-blue); }
.rfl-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; }

.rfl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 24px; }
.rfl-card {
    border: 1px solid var(--rfl-line); border-radius: var(--rfl-radius-card); overflow: hidden;
    display: flex; flex-direction: column; background: #FFFFFF; min-width: 0;
}
.rfl-card-visual { background: var(--rfl-ground); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rfl-card-title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.rfl-card-text { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.rfl-card-kicker { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rfl-blue); }
.rfl-h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.rfl-card-text p { font-size: 15px; line-height: 1.6; color: var(--rfl-muted); }

.rfl-chart-box { background: #FFFFFF; border-radius: 10px; padding: 12px; }
.rfl-chart { width: 100%; height: 190px; }

.rfl-legend { display: flex; gap: 16px; font-size: 12px; color: var(--rfl-muted); flex-wrap: wrap; }
.rfl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rfl-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.rfl-legend .rfl-legend-line { width: 14px; height: 3px; border-radius: 0; }

/* Dashboard grid (level words on colored cells) */
.rfl-dash-grid {
    display: grid; grid-template-columns: 150px repeat(var(--cols, 5), minmax(0, 1fr));
    gap: 3px; font-size: 11px; text-align: center;
}
.rfl-dash-col { color: var(--rfl-muted); padding: 4px 0; }
.rfl-dash-rowhead { text-align: left; color: var(--rfl-muted); padding: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfl-dash-cell { padding: 5px 0; font-weight: 500; }
.rfl-dash-cell--none { color: var(--rfl-faint); }

/* Stacked 100% bars (demographics, SBAC levels) */
.rfl-stack-block { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--rfl-muted); }
.rfl-stack-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rfl-stack-head .rfl-up, .rfl-stack-head .rfl-down { font-weight: 600; }
.rfl-stack { display: flex; height: 30px; border-radius: 6px; overflow: hidden; font-size: 11px; font-weight: 600; }
.rfl-stack > div { display: flex; align-items: center; justify-content: center; color: var(--rfl-ink); overflow: hidden; white-space: nowrap; }
.rfl-stack--levels { height: 28px; }

/* ── Next step ──────────────────────────────────────────────────── */
.rfl-next { background: var(--rfl-ground); padding-block: 80px; }
.rfl-next-card {
    background: #FFFFFF; border: 1px solid var(--rfl-line); border-radius: 24px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(4,31,191,.08);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.rfl-next-left { padding: 40px; display: flex; flex-direction: column; gap: 18px; min-width: 0; align-items: flex-start; }
.rfl-next-lede { font-size: 18px; line-height: 1.5; font-weight: 500; }
.rfl-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; width: 100%; }
.rfl-questions > div { background: var(--rfl-ground); border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 600; line-height: 1.35; }
.rfl-q-icon { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.rfl-next-right { background: var(--rfl-ground-2); padding: 40px; display: flex; flex-direction: column; gap: 20px; justify-content: center; min-width: 0; }
.rfl-next-h3 { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--rfl-blue); }
.rfl-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rfl-checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.45; }
.rfl-checks li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
    border: 2.4px solid var(--rfl-blue);
    background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23041FBF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.rfl-next-close { font-size: 17px; line-height: 1.5; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────────── */
.rfl-footer { padding: 32px 0 44px; font-size: 13px; line-height: 1.6; color: var(--rfl-muted); }
.rfl-footer .rfl-wrap { display: flex; flex-direction: column; gap: 8px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
    .rfl-wrap { padding-inline: 16px; }
    .rfl-closer { padding-block: 48px; }
    .rfl-next { padding-block: 48px; }
    .rfl-next-left, .rfl-next-right { padding: 24px; }
    .rfl-card-visual, .rfl-card-text { padding: 18px; }
}
@media (max-width: 560px) {
    .rfl-dash-grid { grid-template-columns: 96px repeat(var(--cols, 5), minmax(0, 1fr)); font-size: 10px; }
    .rfl-topbar-meta { display: none; }
    .rfl-dash-tile { flex: 1 1 30%; min-width: 0; }
    .rfl-bar-row { grid-template-columns: 100px minmax(0, 1fr) 44px; }
    .rfl-bars--wide .rfl-bar-row { grid-template-columns: 110px minmax(0, 1fr) 48px; }
}

/* ── Print ──────────────────────────────────────────────────────── */
@media print {
    @page { margin: 12mm; }
    .rfl-shell { font-size: 13px; }
    .rfl-topbar, .rfl-hero, .rfl-snapshot, .rfl-card-visual, .rfl-tile, .rfl-dash-cell, .rfl-dash-tile-level,
    .rfl-bar-fill, .rfl-stack > div, .rfl-q-icon, .rfl-next-right, .rfl-btn, .rfl-pill, .rfl-tag-year, .rfl-legend i {
        -webkit-print-color-adjust: exact; print-color-adjust: exact;
    }
    .rfl-print-btn, .rfl-skip { display: none !important; }
    .rfl-hero { padding-top: 24px; }
    .rfl-h1 { font-size: 28px; }
    .rfl-snapshot-wrap { margin-top: 24px; }
    .rfl-snapshot { box-shadow: none; }
    .rfl-closer, .rfl-next { padding-block: 24px; }
    .rfl-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
    .rfl-card, .rfl-panel, .rfl-next-card { break-inside: avoid; box-shadow: none; }
    .rfl-chart { height: 160px; }
    a[href]::after { content: none; }
}

/* =================================================================
   Landing page + sign-up form (/reflections)
   ================================================================= */

/* ── Top-bar nav ─────────────────────────────────────────────────── */
.rfl-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.rfl-nav a { color: #FFFFFF; text-decoration: none; }
.rfl-nav a:hover { color: #FFFFFF; text-decoration: underline; }
.rfl-nav .rfl-nav-cta { color: var(--rfl-blue); background: #FFFFFF; font-weight: 600; padding: 12px 20px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.rfl-nav .rfl-nav-cta:hover { text-decoration: none; background: #EEF1FE; }
@media (max-width: 900px) { .rfl-nav a:not(.rfl-nav-cta) { display: none; } }

/* ── Hero (landing variant) ──────────────────────────────────────── */
.rfl-hero--landing { padding-top: 56px; }
.rfl-landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: start; }
.rfl-landing-copy { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; align-items: flex-start; }
.rfl-h1--landing { font-size: clamp(36px, 5vw, 56px); }
.rfl-hero-points { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--rfl-hero-text); }
.rfl-hero-points span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Form card ───────────────────────────────────────────────────── */
.rfl-form-card { background: #FFFFFF; color: var(--rfl-ink); border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(2,10,60,.35); scroll-margin-top: 16px; }
.rfl-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.rfl-form-head { display: flex; flex-direction: column; gap: 6px; }
.rfl-form-title { font-size: 24px; font-weight: 700; }
.rfl-form-lede { font-size: 15px; line-height: 1.5; color: var(--rfl-muted); }
.rfl-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.rfl-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.rfl-field label, .rfl-optins legend { font-size: 14px; font-weight: 600; }
.rfl-optional { font-weight: 400; color: var(--rfl-muted); }
.rfl-input {
    font: inherit; font-size: 16px; min-height: 48px; width: 100%; padding: 0 14px;
    border: 1.5px solid #B7BFD9; border-radius: 10px; background: #FFFFFF; color: var(--rfl-ink);
}
.rfl-input:focus { outline: 3px solid var(--rfl-cyan); outline-offset: 1px; border-color: var(--rfl-blue); }
.rfl-input--error { border-color: var(--rfl-cta); }
.rfl-textarea { min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.rfl-field-hint { font-size: 13px; color: var(--rfl-muted); }
.rfl-field-hint.rfl-ok { color: var(--rfl-up); }
.rfl-field-error { font-size: 13px; color: var(--rfl-down); min-height: 0; }
.rfl-field-error:empty { display: none; }
.rfl-input-icon { position: relative; display: flex; align-items: center; }
.rfl-input-icon > svg { position: absolute; left: 14px; pointer-events: none; }
.rfl-input-icon > .rfl-input { padding-left: 42px; padding-right: 40px; }
.rfl-clear { position: absolute; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--rfl-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.rfl-clear:hover { background: var(--rfl-ground); }
.rfl-results {
    position: absolute; top: calc(100% - 20px); left: 0; right: 0; z-index: 20;
    background: #FFFFFF; border: 1.5px solid #B7BFD9; border-radius: 12px;
    box-shadow: 0 16px 40px rgba(2,10,60,.18); overflow: hidden;
}
.rfl-results ul { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; }
.rfl-results li { margin: 0; }
.rfl-results button {
    width: 100%; min-height: 48px; text-align: left; border: 0; border-radius: 8px; padding: 8px 12px;
    background: transparent; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px;
}
.rfl-results button:hover, .rfl-results button[aria-selected="true"] { background: var(--rfl-ground); }
.rfl-results button > span:first-child { font-size: 15px; font-weight: 600; color: var(--rfl-ink); }
.rfl-results button > span:last-child { font-size: 12px; color: var(--rfl-muted); }
.rfl-results-note { padding: 10px 16px; font-size: 13px; line-height: 1.5; color: var(--rfl-muted); border-top: 1px solid var(--rfl-track); }
.rfl-optins { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.rfl-optins legend { padding: 0; margin-bottom: 6px; }
.rfl-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 6px 0; font-size: 15px; line-height: 1.45; cursor: pointer; font-weight: 400 !important; }
.rfl-check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--rfl-blue); cursor: pointer; }
.rfl-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.rfl-turnstile { display: flex; flex-direction: column; gap: 6px; }
.rfl-alert { display: flex; gap: 10px; align-items: flex-start; background: #FFF1EB; color: var(--rfl-down); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.rfl-alert--ok { background: #E8F7EC; color: #1E7A34; }
.rfl-alert svg { flex: none; margin-top: 1px; }
.rfl-inquire { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 6px; }
.rfl-shell button.rfl-btn--cta { border: 0; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.rfl-inquire-note { font-size: 13px; line-height: 1.45; color: var(--rfl-muted); max-width: 46ch; }
.rfl-inquire-alt { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--rfl-blue); }
.rfl-next .rfl-alert { margin-bottom: 12px; }
@media print { .rfl-inquire, .rfl-inquire-alt, .rfl-next .rfl-alert { display: none !important; } }
.rfl-btn--full { width: 100%; justify-content: center; border: 0; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.rfl-shell button.rfl-btn--cta { background: var(--rfl-cta); color: #FFFFFF; }
.rfl-shell button.rfl-btn--cta:hover { background: #A83409; }
.rfl-shell button.rfl-btn--cta[disabled] { opacity: .55; cursor: not-allowed; }
.rfl-form-fine { font-size: 12px; line-height: 1.5; color: var(--rfl-muted); }
.rfl-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rfl-sent { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 8px 0; }
.rfl-sent-icon { width: 56px; height: 56px; border-radius: 50%; background: #E6F6E8; display: flex; align-items: center; justify-content: center; }
.rfl-shell a.rfl-btn--outline { background: #FFFFFF; color: var(--rfl-blue); border: 1.5px solid var(--rfl-blue); min-height: 44px; padding: 0 18px; font-size: 15px; }
.rfl-tag-sample { background: #FFF3CC; color: #6B3A00; }

/* ── What's inside (preview cards) ───────────────────────────────── */
.rfl-section-lede { font-size: 17px; line-height: 1.6; color: var(--rfl-muted); max-width: 760px; }
.rfl-cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.rfl-card-visual--peek { height: 190px; overflow: hidden; flex-shrink: 0; padding: 18px 20px; gap: 10px;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.rfl-card-title--sm { font-size: 13px; }
.rfl-dash-grid--sm { grid-template-columns: 104px repeat(var(--cols, 5), minmax(0, 1fr)); font-size: 10px; }
.rfl-minibars { display: flex; align-items: flex-end; gap: 10px; height: 110px; border-bottom: 1px solid var(--rfl-line-soft); }
.rfl-minibar-pair { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.rfl-minibar-pair > div { flex: 1 1 0; border-radius: 3px 3px 0 0; }

/* ── Grey band: pillars, contents, sources ───────────────────────── */
.rfl-band { background: var(--rfl-ground); padding-block: 80px; }
.rfl-stack-sections { display: flex; flex-direction: column; gap: 40px; }
.rfl-stack-sections .rfl-section-head { margin-bottom: 0; }
.rfl-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.rfl-pillar { background: #FFFFFF; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.rfl-pillar p { font-size: 15px; line-height: 1.6; color: var(--rfl-muted); }
.rfl-pillar .rfl-h3 { font-size: 18px; }
.rfl-pillar-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.rfl-subsection { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.rfl-sub-title { font-size: 15px; font-weight: 600; }
.rfl-contents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 16px; }
.rfl-contents > div { background: #FFFFFF; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.rfl-sources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.rfl-sources-grid > div { background: #FFFFFF; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; }
.rfl-source-name { font-size: 16px; font-weight: 600; }
.rfl-muted-sm { color: var(--rfl-muted); }
.rfl-sources-grid a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.rfl-sources-grid a:hover { text-decoration: underline; }

/* ── How it works ────────────────────────────────────────────────── */
.rfl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.rfl-steps li { display: flex; flex-direction: column; gap: 12px; }
.rfl-steps p { font-size: 15px; line-height: 1.6; color: var(--rfl-muted); }
.rfl-steps .rfl-h3 { font-size: 18px; }
.rfl-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--rfl-blue); color: #FFFFFF; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* ── About (blue) ────────────────────────────────────────────────── */
.rfl-about { background: var(--rfl-blue); color: #FFFFFF; padding-block: 88px; }
.rfl-about .rfl-stack-sections { gap: 56px; }
.rfl-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: end; }
.rfl-about-grid > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rfl-about-grid--center { align-items: center; gap: 32px 48px; }
.rfl-kicker--cyan { color: var(--rfl-cyan); }
.rfl-h2--lg { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
.rfl-about-copy, .rfl-about-copy p { font-size: 17px; line-height: 1.65; color: var(--rfl-hero-text); }
.rfl-about-copy { display: flex; flex-direction: column; gap: 14px; }
.rfl-about-h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.rfl-about-h3--lg { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; margin-bottom: 0; }
.rfl-about-strong { font-size: 18px; line-height: 1.5; font-weight: 500; }
.rfl-measures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.rfl-measure { background: #FFFFFF; color: var(--rfl-ink); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.rfl-measure > i { display: block; height: 8px; }
.rfl-measure > div { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.rfl-measure span { font-size: 18px; font-weight: 700; }
.rfl-measure p { font-size: 15px; line-height: 1.6; color: var(--rfl-muted); }
.rfl-vi { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rfl-vi p { font-size: 15px; line-height: 1.55; color: var(--rfl-hero-text); }
.rfl-vi strong { color: #FFFFFF; }
.rfl-vi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 14px; line-height: 1.3; }
.rfl-vi-grid span { background: rgba(255,255,255,.1); border-radius: 10px; padding: 10px 12px; }
.rfl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.rfl-stats > div { color: var(--rfl-ink); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.rfl-stat-num { font-size: 40px; font-weight: 700; line-height: 1.1; }
.rfl-stat-label { font-size: 16px; font-weight: 600; }
.rfl-stat-note { font-size: 13px; }
.rfl-stats-foot { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); font-size: 14px; line-height: 1.6; color: var(--rfl-hero-text); }

/* ── Final CTA ───────────────────────────────────────────────────── */
.rfl-final { padding-block: 80px; }
.rfl-final-card { background: var(--rfl-cyan); color: var(--rfl-ink); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.rfl-final-card > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.rfl-final-card .rfl-h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.rfl-final-card p { font-size: 17px; line-height: 1.6; }
.rfl-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rfl-shell a.rfl-btn--blue { background: var(--rfl-blue); color: #FFFFFF; }
.rfl-shell a.rfl-btn--blue:hover { background: var(--rfl-blue-deep); color: #FFFFFF; }
.rfl-shell a.rfl-btn--outline-blue { background: transparent; color: var(--rfl-blue); border: 1.5px solid var(--rfl-blue); }

/* ── Footer (shared) ─────────────────────────────────────────────── */
.rfl-footer { border-top: 1px solid var(--rfl-line); padding: 40px 0 32px; margin-top: 0; }
.rfl-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.rfl-footer-brand { display: flex; flex-direction: column; gap: 6px; line-height: 1.6; font-size: 14px; }
.rfl-footer-brand > span:first-child { font-weight: 700; color: var(--rfl-ink); font-size: 16px; }
.rfl-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); column-gap: 40px; row-gap: 10px; align-content: start; font-size: 14px; }
.rfl-footer-nav a { text-decoration: none; }
.rfl-footer-nav a:hover { text-decoration: underline; }
.rfl-footer-fine { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; }

@media (max-width: 760px) {
    .rfl-form-card { padding: 22px 18px; }
    .rfl-band, .rfl-about, .rfl-final { padding-block: 48px; }
    .rfl-final-card { padding: 28px 22px; }
}
@media print {
    .rfl-nav, .rfl-form-card, .rfl-final { display: none !important; }
}
