/* ============================================================================
   File: Lawfunder.Website/wwwroot/css/public-site.css
   Purpose: WEBSITE-1 (Director, 03/12/2026) - the public website's brand tokens, header, footer and page components; rebuilt to the
            approved design preview v12 (Director, 04/12/2026: RULINGS_20261204_WEBSITE-1-DESIGN-v12_verbatim.txt): the hero photo with
            its caption badge on every page, the restrained line icons, the cards, the six-step timeline and the calculator. Phone
            (360/390), tablet (768) and desktop (1280+) ready.
            Every class is prefixed "lf-" so nothing collides with Bootstrap, which the application pages still load.
   Brand rulings: every "Apply Now" button is gold #FCB315 with site-navy #0b2a5b text; the logo word is Ubuntu Bold
   in logo navy #1A365D.
   Fonts (WEBSITE-1 FONT ruling, Director 04/12/2026: "heading font ruled - Archivo (as in the preview). Self-host Archivo 600/700/800;
   hold it as one setting."): self-hosted from wwwroot/fonts (SIL Open Font Licence), as the approved design v12 does - Archivo for
   headings, Source Sans 3 for body text, Ubuntu Bold for the logo word - so a public page makes no Google Fonts request. The heading
   font is the one setting --lf-font-display; every heading, button and label reads it.
   ============================================================================ */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-latin-700-normal.woff2") format("woff2"); }

:root {
    --lf-site-navy: #0b2a5b;       /* Apply Now text (brand ruling) */
    --lf-logo-navy: #1A365D;       /* logo word, dark panels */
    --lf-navy-ink: #13294B;        /* headings */
    --lf-navy-deep: #0F2747;       /* top bar */
    --lf-apply-gold: #FCB315;
    --lf-apply-gold-hover: #f1a800;
    --lf-apply-text: #0b2a5b;
    --lf-gold-soft: #FFF5D9;
    --lf-blue: #1F4FB3;
    --lf-blue-hover: #163c8a;
    --lf-ink: #1E2A3A;
    --lf-muted: #4A5668;
    --lf-soft-bg: #F3F6FA;
    --lf-tint-bg: #EAF0F7;
    --lf-line: #DCE3EC;
    --lf-soft: #DCE3EC;
    --lf-white: #ffffff;
    --lf-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    /* THE heading font (FONT ruling, 04/12/2026): one setting. */
    --lf-font-display: "Archivo", system-ui, Arial, sans-serif;
    --lf-font-logo: Ubuntu, var(--lf-font-display);
    --lf-radius: 14px;
    --lf-shadow: 0 1px 2px rgba(16, 39, 71, 0.06), 0 6px 18px rgba(16, 39, 71, 0.06);
    --lf-gutter: 18px;
    --lf-max: 1132px;
    --lf-tap: 44px;
}

@media (min-width: 621px) {
    :root { --lf-gutter: 24px; }
}

.lf-site, .lf-site-header, .lf-site-footer {
    font-family: var(--lf-font-body);
    color: var(--lf-ink);
    font-size: 17px;
    line-height: 1.6;
}
@media (min-width: 621px) {
    .lf-site, .lf-site-header, .lf-site-footer { font-size: 18px; }
}

.lf-site *, .lf-site-header *, .lf-site-footer * { box-sizing: border-box; }

.lf-site h1, .lf-site h2, .lf-site h3, .lf-site h4, .lf-display {
    font-family: var(--lf-font-display);
    color: var(--lf-navy-ink);
    line-height: 1.15;
    margin: 0;
}
.lf-site h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
.lf-site h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; }
.lf-site h3 { font-size: 1.2rem; font-weight: 700; }
.lf-site h4 { font-size: 1rem; font-weight: 700; }
.lf-site p { margin: 0; }
.lf-site a { color: var(--lf-blue); overflow-wrap: anywhere; }
.lf-site a:hover { color: var(--lf-blue-hover); }
.lf-site img { max-width: 100%; display: block; }

.lf-container { width: 100%; max-width: calc(var(--lf-max) + 2 * var(--lf-gutter)); margin: 0 auto; padding: 0 var(--lf-gutter); }
.lf-container-narrow { max-width: calc(900px + 2 * var(--lf-gutter)); }
.lf-section { padding: 44px 0; }
.lf-section-tight { padding: 28px 0; }
@media (min-width: 621px) { .lf-section { padding: 64px 0; } .lf-section-tight { padding: 36px 0; } }
.lf-section-soft { background: var(--lf-soft-bg); }
.lf-section-tint { background: var(--lf-tint-bg); }
.lf-stack { display: flex; flex-direction: column; gap: 16px; }
.lf-stack-sm { display: flex; flex-direction: column; gap: 6px; }
.lf-stack-lg { display: flex; flex-direction: column; gap: 24px; }
.lf-eyebrow { font-family: var(--lf-font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lf-blue); }
.lf-lead { font-size: 1.15em; line-height: 1.5; color: var(--lf-muted); }
.lf-strong-line { font-weight: 700; color: var(--lf-navy-ink); }
.lf-muted { color: var(--lf-muted); }
.lf-small { font-size: 0.92em; }

/* Grids: every grid stacks to one column on phones. */
.lf-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) {
    .lf-grid-2, .lf-grid-3, .lf-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
    .lf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.lf-grid-top { align-items: start; }

/* Cards and panels */
.lf-card { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); padding: 24px; box-shadow: var(--lf-shadow);
           display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lf-card-flat { box-shadow: none; }
.lf-card-soft { background: var(--lf-soft-bg); box-shadow: none; }
.lf-card-highlight { border: 2px solid var(--lf-apply-gold); }
.lf-card-navy { background: var(--lf-logo-navy); color: var(--lf-white); border-color: var(--lf-logo-navy); box-shadow: none; padding: 28px; }
.lf-card-navy h2, .lf-card-navy h3, .lf-card-navy h4, .lf-card-navy .lf-display, .lf-card-navy .lf-step-title { color: var(--lf-white); }
.lf-card-navy a:not(.lf-btn) { color: var(--lf-white); }
.lf-note { background: var(--lf-soft-bg); border: 1px solid var(--lf-line); border-left: 5px solid var(--lf-logo-navy); border-radius: 12px; padding: 20px 22px;
           display: flex; flex-direction: column; gap: 8px; }
.lf-note-gold { border-left-color: var(--lf-apply-gold); }
.lf-note h3 { font-size: 1.1rem; }
.lf-tag { display: inline-block; align-self: flex-start; font-family: var(--lf-font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
          text-transform: uppercase; background: var(--lf-apply-gold); color: var(--lf-navy-ink); border-radius: 6px; padding: 5px 10px; }
.lf-card-title-row { display: flex; align-items: center; gap: 14px; }

/* Icons (the design's line icons, one per card or step) */
.lf-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--lf-gold-soft); display: inline-flex; align-items: center; justify-content: center;
          color: var(--lf-logo-navy); flex: none; }
.lf-ico svg { width: 26px; height: 26px; stroke-width: 1.75; }
.lf-ico-sm { width: 40px; height: 40px; }
.lf-ico-sm svg { width: 22px; height: 22px; }

/* Buttons. Every Apply Now is gold with navy text (Director's ruling). */
.lf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 10px;
    font-family: var(--lf-font-display); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
    border: 2px solid transparent; cursor: pointer; max-width: 100%;
}
.lf-site .lf-btn, .lf-site-header .lf-btn, .lf-site-footer .lf-btn { overflow-wrap: normal; }
.lf-btn-primary, .lf-site a.lf-btn-primary { background: var(--lf-logo-navy); color: var(--lf-white); }
.lf-btn-primary:hover, .lf-site a.lf-btn-primary:hover { background: var(--lf-navy-deep); color: var(--lf-white); }
.lf-btn-outline, .lf-site a.lf-btn-outline { background: var(--lf-white); color: var(--lf-logo-navy); border-color: var(--lf-logo-navy); }
.lf-btn-outline:hover, .lf-site a.lf-btn-outline:hover { background: var(--lf-soft-bg); color: var(--lf-logo-navy); }
.lf-btn-white, .lf-site a.lf-btn-white { background: var(--lf-white); color: var(--lf-navy-ink); }
.lf-btn-apply, .lf-site a.lf-btn-apply, .lf-site-header a.lf-btn-apply {
    background: var(--lf-apply-gold); color: var(--lf-apply-text); border-color: var(--lf-apply-gold);
}
.lf-btn-apply:hover, .lf-site a.lf-btn-apply:hover, .lf-site-header a.lf-btn-apply:hover {
    background: var(--lf-apply-gold-hover); border-color: var(--lf-apply-gold-hover); color: var(--lf-apply-text);
}
.lf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 620.98px) {
    .lf-actions .lf-btn { flex: 1 1 100%; }
}

.lf-link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--lf-tap); }
.lf-link-arrow:hover { text-decoration: underline; }

/* Tick and cross lists: the marks are drawn by CSS (the design's ticks), so the words are the list's own. */
.lf-ticks, .lf-crosses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lf-ticks li, .lf-crosses li { position: relative; padding-left: 32px; }
.lf-ticks li::before, .lf-crosses li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; }
.lf-ticks li::before {
    background: var(--lf-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A365D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.lf-crosses li::before {
    background: #FDECEC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A12A2A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.lf-card-navy .lf-ticks li::before {
    background: rgba(252, 179, 21, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCB315' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 621px) { .lf-ticks-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.lf-plain { margin: 0.4em 0 0; padding-left: 1.2em; }

/* Numbered steps */
.lf-steps { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) { .lf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 901px) { .lf-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lf-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lf-step { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); padding: 24px; display: flex; flex-direction: column;
           gap: 8px; min-width: 0; box-shadow: var(--lf-shadow); }
.lf-step-flat { box-shadow: none; }
.lf-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.lf-step-number {
    width: 34px; height: 34px; border-radius: 50%; background: var(--lf-apply-gold); color: var(--lf-navy-ink); display: inline-flex; flex: none;
    align-items: center; justify-content: center; font-family: var(--lf-font-display); font-weight: 800; font-size: 0.95rem;
}
.lf-step-title { font-family: var(--lf-font-display); font-weight: 700; color: var(--lf-navy-ink); font-size: 1.15rem; line-height: 1.25; }

/* Question and answer lists: the design's open-and-close questions. */
.lf-qa { display: flex; flex-direction: column; gap: 10px; }
.lf-qa-item { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 12px; }
.lf-qa-item > summary { cursor: pointer; list-style: none; padding: 14px 50px 14px 20px; min-height: var(--lf-tap); position: relative;
                        font-family: var(--lf-font-display); font-weight: 700; font-size: 1.04rem; color: var(--lf-navy-ink); }
.lf-qa-item > summary::-webkit-details-marker { display: none; }
.lf-qa-item > summary::after { content: "+"; position: absolute; right: 20px; top: 10px; font-size: 1.5rem; color: var(--lf-blue); font-weight: 400; }
.lf-qa-item[open] > summary::after { content: "\2013"; }
.lf-qa-a { padding: 0 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.lf-qa-group { display: flex; flex-direction: column; gap: 14px; }

/* Call-to-action band */
.lf-cta { background: var(--lf-logo-navy); color: var(--lf-white); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.lf-cta .lf-display, .lf-cta h2, .lf-cta h3 { color: var(--lf-white); }
.lf-cta p { color: #DCE6F3; }
.lf-cta-title { font-family: var(--lf-font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 901px) { .lf-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 40px; } }
.lf-cta a:not(.lf-btn) { color: var(--lf-white); display: inline-flex; align-items: center; min-height: var(--lf-tap); }

/* Top bar (home page only) */
.lf-topbar { background: var(--lf-navy-deep); color: var(--lf-white); font-family: var(--lf-font-body); font-size: 15px; padding: 6px var(--lf-gutter); display: flex;
             flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px; text-align: center; }
.lf-topbar a { color: var(--lf-apply-gold); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--lf-tap); }

/* Header */
.lf-site-header { background: var(--lf-white); border-bottom: 1px solid var(--lf-line); position: sticky; top: 0; z-index: 20; }
.lf-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 8px var(--lf-gutter);
                 max-width: calc(1180px + 2 * var(--lf-gutter)); margin: 0 auto; }
.lf-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; white-space: nowrap; min-height: var(--lf-tap); }
.lf-brand img { height: 40px; width: auto; display: block; }
.lf-brand-word { font-family: var(--lf-font-logo); font-weight: 700; color: var(--lf-logo-navy); font-size: 26px; line-height: 1; }
.lf-menu-btn {
    display: none; align-items: center; justify-content: center; gap: 8px; min-height: var(--lf-tap); min-width: var(--lf-tap); padding: 0 14px;
    border: 2px solid var(--lf-logo-navy); border-radius: 10px; background: var(--lf-white); color: var(--lf-logo-navy);
    font-family: var(--lf-font-display); font-weight: 600; font-size: 15px; cursor: pointer;
}
.lf-menu-bars { width: 18px; height: 2px; background: var(--lf-logo-navy); position: relative; display: inline-block; }
.lf-menu-bars::before, .lf-menu-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--lf-logo-navy); }
.lf-menu-bars::before { top: -6px; }
.lf-menu-bars::after { top: 6px; }
.lf-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.lf-nav a {
    color: var(--lf-navy-ink); text-decoration: none; font-family: var(--lf-font-display); font-weight: 600; font-size: 14px; white-space: nowrap;
    padding: 0 6px; min-height: var(--lf-tap); display: inline-flex; align-items: center; border-bottom: 2px solid transparent;
}
.lf-nav a:hover { color: var(--lf-blue); }
.lf-nav a[aria-current="page"] { color: var(--lf-blue); border-bottom-color: var(--lf-blue); }
.lf-nav a.lf-btn { padding: 9px 16px; margin-left: 8px; font-size: 14px; }

/* The menu collapses to a menu button below 1200 px (the full menu needs about 1,150 px). */
@media (max-width: 1199.98px) {
    .lf-menu-btn { display: inline-flex; }
    .lf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--lf-white); border-bottom: 1px solid var(--lf-line);
              flex-direction: column; align-items: stretch; padding: 8px var(--lf-gutter) 18px; box-shadow: 0 12px 24px rgba(16, 39, 71, 0.1); }
    .lf-nav.lf-nav-open { display: flex; }
    .lf-nav a { padding: 0 4px; border-bottom: 1px solid var(--lf-line); white-space: normal; }
    .lf-nav a[aria-current="page"] { border-bottom-color: var(--lf-blue); }
    .lf-nav a.lf-btn { margin: 12px 0 0; justify-content: center; border-bottom: 2px solid var(--lf-apply-gold); }
}
@media (max-width: 399.98px) {
    .lf-brand img { height: 36px; }
    .lf-brand-word { font-size: 22px; }
}

/* Hero: the copy beside the photo on wide screens; on phones and tablets the copy first, then the photo with its caption badge. */
.lf-hero { background: linear-gradient(180deg, var(--lf-white) 0%, var(--lf-soft-bg) 100%); padding: 32px 0 44px; }
@media (min-width: 621px) { .lf-hero { padding: 56px 0 64px; } }
.lf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 901px) { .lf-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.lf-hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lf-hero-copy .lf-lead { max-width: 34em; }
.lf-hero-media { position: relative; min-width: 0; }
.lf-hero-photo { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px rgba(16, 39, 71, 0.16); }
.lf-hero-card {
    position: absolute; left: 14px; bottom: 14px; max-width: 80%; background: var(--lf-logo-navy); color: var(--lf-white); border-radius: 12px;
    border-left: 5px solid var(--lf-apply-gold); padding: 12px 18px; font-family: var(--lf-font-display); font-weight: 700; font-size: 0.95rem;
    line-height: 1.35; box-shadow: 0 10px 24px rgba(16, 39, 71, 0.25);
}
@media (min-width: 901px) { .lf-hero-card { left: -18px; bottom: 22px; padding: 14px 20px; font-size: 1.02rem; } }

/* Trust row (under the home hero; the For Lawyers strip) */
.lf-trust-strip { margin-top: -34px; position: relative; z-index: 2; }
.lf-trust { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); box-shadow: var(--lf-shadow); display: grid;
            grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) { .lf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 901px) { .lf-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lf-trust-five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lf-trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-top: 1px solid var(--lf-line); font-family: var(--lf-font-display);
                 font-weight: 600; color: var(--lf-navy-ink); font-size: 0.98rem; line-height: 1.3; min-width: 0; }
.lf-trust-item:first-child { border-top: 0; }
@media (min-width: 621px) { .lf-trust-item:nth-child(2) { border-top: 0; } .lf-trust-item:nth-child(2n) { border-left: 1px solid var(--lf-line); } }
@media (min-width: 901px) {
    .lf-trust-item { border-top: 0; border-left: 1px solid var(--lf-line); }
    .lf-trust-item:first-child { border-left: 0; }
}

/* Feature chips (For Lawyers) */
.lf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lf-chip { border: 1px solid var(--lf-line); background: var(--lf-soft-bg); color: var(--lf-navy-ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }

/* Key terms table (pre-settlement) */
.lf-terms { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); overflow: hidden; background: var(--lf-white); }
.lf-terms-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 18px; border-bottom: 1px solid var(--lf-line); }
.lf-terms-row:last-child { border-bottom: 0; }
.lf-terms-label { font-family: var(--lf-font-display); font-weight: 700; color: var(--lf-navy-ink); }
@media (min-width: 621px) { .lf-terms-row { grid-template-columns: 34% minmax(0, 1fr); gap: 16px; padding: 0; } .lf-terms-row > div { padding: 14px 18px; }
    .lf-terms-label { background: var(--lf-soft-bg); } }

/* Cost block from live data */
.lf-cost { background: var(--lf-soft-bg); border: 1px solid var(--lf-line); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.lf-cost h3 { font-size: 1.1rem; }
.lf-cost-figure { font-family: var(--lf-font-display); font-size: 26px; font-weight: 800; color: var(--lf-navy-ink); }
.lf-warning { font-size: 0.86rem; color: var(--lf-muted); }

/* Home calculator */
.lf-calc { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); box-shadow: var(--lf-shadow); padding: 24px;
           display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) { .lf-calc { padding: 28px; } }
.lf-calc > .lf-cost { grid-column: 1 / -1; }
.lf-calc-title { font-size: 1.6rem !important; }
.lf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lf-field label { font-family: var(--lf-font-display); font-weight: 700; color: var(--lf-navy-ink); font-size: 0.92rem; }
.lf-field input:not([type="range"]), .lf-field select { min-height: var(--lf-tap); border: 1px solid #C7D1DE; border-radius: 9px; padding: 8px 12px; font-size: 16px;
                                                         width: 100%; background: var(--lf-white); color: var(--lf-ink); }

/* Recourse block (short version and the full list) */
.lf-recourse { font-size: 0.95em; color: var(--lf-muted); }

/* Footer */
.lf-site-footer { background: var(--lf-soft-bg); border-top: 1px solid var(--lf-line); padding: 48px 0 30px; margin-top: 64px; font-size: 0.98rem; }
.lf-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 621px) { .lf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lf-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } }
.lf-footer-heading { font-family: var(--lf-font-display); font-weight: 700; color: var(--lf-navy-ink); margin-bottom: 8px; }
.lf-footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.lf-footer-links a, .lf-footer-contact a { display: inline-flex; align-items: center; min-height: var(--lf-tap); color: var(--lf-blue); }
.lf-footer-contact { display: flex; flex-direction: column; }
.lf-footer-recourse { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--lf-line); font-size: 0.88rem; color: var(--lf-muted);
                      display: flex; flex-direction: column; gap: 8px; }
.lf-footer-recourse a { display: inline-flex; align-items: center; min-height: var(--lf-tap); }
.lf-site-footer a { overflow-wrap: anywhere; }
.lf-footbar { height: 6px; background: var(--lf-apply-gold); }

/* Reviews (shown only once REVIEWS-1 is live) */
.lf-review { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.lf-review-meta { font-size: 14px; color: var(--lf-muted); }

/* Post-settlement timeline: six steps; stacked on phones and tablets, a row (number above its label) on wide screens. */
.lf-timeline { background: var(--lf-soft-bg); border: 1px solid var(--lf-line); border-radius: var(--lf-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.lf-timeline-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lf-timeline-step { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lf-timeline-label { font-weight: 600; color: var(--lf-navy-ink); line-height: 1.3; }
@media (min-width: 901px) {
    .lf-timeline-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
    .lf-timeline-step { flex-direction: column; text-align: center; gap: 8px; }
}
.lf-timeline-bar { background: var(--lf-apply-gold); color: var(--lf-navy-ink); border-radius: 10px; padding: 12px 16px; text-align: center;
                   font-family: var(--lf-font-display); font-weight: 800; }

/* Section heading block */
.lf-section-head { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }

/* Home calculator (v12 README items 19 and 22): the amount slider with - and + buttons, the amount shown large; every line of the
   calculator's cost box in one size (the warning line's), the total in bold. */
.lf-calc-head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.lf-calc-fields { grid-column: 1 / -1; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lf-calc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.lf-amt { display: flex; flex-direction: column; gap: 6px; }
.lf-amt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lf-amt-show { flex: 1; text-align: center; font-family: var(--lf-font-display); font-size: 30px; font-weight: 800; color: var(--lf-logo-navy); }
.lf-amt-btn { width: var(--lf-tap); height: var(--lf-tap); flex: none; border-radius: 50%; border: 2px solid var(--lf-logo-navy); background: var(--lf-white);
    color: var(--lf-logo-navy); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.lf-amt-btn:hover:not(:disabled) { background: var(--lf-logo-navy); color: var(--lf-white); }
.lf-amt-btn:disabled { opacity: 0.4; cursor: default; }
.lf-amt-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; outline-offset: 4px;
    background: linear-gradient(to right, var(--lf-apply-gold) var(--lf-range-fill, 0%), #dbe3ee var(--lf-range-fill, 0%)); }
.lf-amt-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lf-logo-navy); border: 4px solid var(--lf-apply-gold); cursor: pointer; }
.lf-amt-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lf-logo-navy); border: 4px solid var(--lf-apply-gold); cursor: pointer; }
.lf-amt-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--lf-muted); }
.lf-cost-calc, .lf-cost-calc h3, .lf-cost-calc p, .lf-cost-calc .lf-warning { font-size: 14px; }
.lf-cost-calc .lf-calc-total-line { font-family: var(--lf-font-body); font-weight: 800; color: var(--lf-site-navy); line-height: 1.4; }
.lf-icon-row { display: flex; gap: 14px; align-items: flex-start; }
.lf-icon-row > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
