/* SheriffHQ's features page (Views/Home/SheriffHQ/Features.cshtml), with the design's values. Phones first. Font weights are one
   step under the design's numbers (500 / 600 / 700 for its 600 / 700 / 800), as in home-landing.css: Site.css maps those
   Noto Sans weights to SemiBold, Bold and ExtraBold. */

/* The layout's <main class="pb-8"> leaves 3.5rem under every page; here the closing blue band meets the footer. */
.fp { margin-bottom: -3.5rem; background: #fff; color: #333; font-size: 16px; line-height: 1.6; }
.fp p { margin: 0; text-wrap: pretty; }
.fp p + p { margin-top: 12px; }
.fp h1, .fp h2, .fp h3 { font-family: inherit; }
.fp a { color: #2a6db0; text-decoration: none; }
.fp a:hover { color: #1d4f86; text-decoration: underline; }
.fp ul, .fp dl { list-style: none; margin: 0; padding: 0; }
.fp dd { margin: 0; }
.fp-wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(20px, 5vw, 60px); padding-right: clamp(20px, 5vw, 60px); box-sizing: border-box; }
.fp-band { background: #1f4e8c; }
.fp-grey { background: #f4f6f9; border-top: 1px solid #e3e8ee; border-bottom: 1px solid #e3e8ee; }
.fp-section { padding: clamp(32px, 5vw, 56px) 0; }
/* A link from the page's own menu stops below the sticky menu. */
.fp-anchor { scroll-margin-top: 60px; }
.fp-rule-bottom { border-bottom: 1px solid #e3e8ee; }
.fp-rule-top-full { border-top: 1px solid #e3e8ee; }
.fp-rule-top { padding-top: clamp(18px, 3vw, 26px); border-top: 1px solid #e3e8ee; }
.fp-narrow { max-width: 760px; }
.fp-muted { font-size: 13px; color: #555; line-height: 1.4; }
.fp-blue, .fp .fp-blue { color: #1f4e8c; }
.fp-white, .fp .fp-white { color: #fff; }
.fp .fp-strong { font-weight: 600; }

/* Layout blocks */
.fp-stack { display: flex; flex-direction: column; gap: clamp(18px, 3vw, 26px); align-items: flex-start; }
.fp-stack > * { min-width: 0; width: 100%; }
.fp-stack > .fp-btn, .fp-stack > .fp-more { width: auto; }
.fp-stack-small { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fp-split-top { align-items: start; }
.fp-split > * { min-width: 0; }
.fp-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.fp-cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 32px; }
.fp-cols-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px clamp(20px, 4vw, 56px); align-items: stretch; }
.fp-cols-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; align-items: start; }
.fp-cols-2 > *, .fp-cols-3 > * { min-width: 0; }

/* Headings */
.fp-h1 { margin: 0; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -0.8px; color: #fff; text-wrap: balance; }
.fp-h2 { margin: 0 0 10px 0; font-size: clamp(22px, 2.6vw, 26px); font-weight: 700; color: #1f4e8c; letter-spacing: -0.4px; line-height: 1.25; text-wrap: balance; }
.fp-h2-small { margin: 0 0 8px 0; font-size: 19px; font-weight: 700; color: #1f4e8c; letter-spacing: -0.2px; line-height: 1.3; }
.fp-h3 { margin: 0 0 6px 0; font-size: 16px; font-weight: 600; color: #222; line-height: 1.35; }
.fp-h3-mid { margin: 0 0 6px 0; font-size: 18px; font-weight: 600; color: #222; line-height: 1.35; }
.fp-h3-large { margin: 0 0 8px 0; font-size: 19px; font-weight: 700; color: #222; letter-spacing: -0.2px; line-height: 1.3; }
.fp .fp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: #8a4a12; line-height: 1.4; }
.fp-eyebrow-grey { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: #555; line-height: 1.4; }
.fp .fp-for { margin: 0 0 4px 0; font-size: 13px; font-weight: 600; color: #8a4a12; line-height: 1.4; }

/* Buttons and links */
.fp .fp-btn { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: min(100%, 240px); box-sizing: border-box; padding: 8px 26px; border-radius: 6px; background: #e8961f; color: #fff; font-size: 17px; font-weight: 700; transition: background 120ms ease; }
.fp .fp-btn:hover, .fp .fp-btn:focus { background: #d4840f; color: #fff; text-decoration: none; }
.fp .fp-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }

/* Hero */
.fp-hero { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); padding-top: clamp(32px, 6vw, 60px); padding-bottom: clamp(36px, 6vw, 64px); }
.fp-hero-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-width: 880px; }
.fp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.fp .fp-alerts { color: #fff; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.fp .fp-alerts:hover { color: #f5b35c; }

/* The live figures under the menu: the heading with its badge, the sentence, then the groups side by side (banks over two). */
.fp-week-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 10px; }
.fp-week-head .fp-h2 { margin: 0; }
.fp .fp-week-new { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 999px; background: #e7f4ea; color: #24692f; font-size: 13px; font-weight: 600; line-height: 1.6; }
.fp-week-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 28px; }
@media (min-width: 600px) {
    .fp-week-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-week-wide { grid-column: 1 / -1; }
    .fp-week-wide .fp-week-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (min-width: 960px) {
    .fp-week-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fp-week-wide { grid-column: span 2; }
}
.fp-week-block { min-width: 0; }
.fp .fp-week-group { margin: 0 0 6px 0; font-size: 14px; font-weight: 600; color: #222; line-height: 1.4; }
.fp-week-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid #dde3ea; font-size: 14px; line-height: 1.4; }
.fp-week-row dt { font-weight: 400; color: #444; }
.fp-week-row dd { font-weight: 600; color: #222; text-align: right; }
.fp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; color: #cfdcf0; }
.fp .fp-crumbs a { color: #fff; font-weight: 500; }
.fp-crumb-here { color: #f5b35c; font-weight: 600; }
.fp .fp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 6px; padding: 12px 14px 13px 14px; }
.fp-stat:first-child { grid-column: 1 / -1; }
@media (min-width: 600px) {
    .fp .fp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fp-stat:first-child { grid-column: auto; }
}
.fp-stat dt { margin-top: 2px; font-size: 13px; font-weight: 400; color: #cfdcf0; line-height: 1.4; }
.fp-stat dd { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -0.5px; line-height: 1.15; }
.fp-stat:first-child dd { color: #f5b35c; }
.fp .fp-lead { font-size: 17px; line-height: 1.65; color: #fff; }

/* The page's own menu */
.fp-toc { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e8ee; }
.fp-toc-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-left: clamp(10px, 5vw, 50px); padding-right: clamp(10px, 5vw, 50px); }
.fp .fp-toc-links a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 7px; font-size: 14px; font-weight: 600; color: #1f4e8c; white-space: nowrap; }
.fp .fp-toc-links a:hover { background: #f4f6f9; color: #173d70; text-decoration: none; }

/* Tick lists */
.fp-tick { flex: none; margin-top: 2px; }
.fp .fp-glance { columns: 2 300px; column-gap: 40px; }
.fp-glance li { break-inside: avoid; display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.fp-glance .fp-tick { margin-top: 13px; }
.fp .fp-glance a { display: block; padding: 11px 0; color: #222; }
.fp .fp-glance a:hover { color: #1f4e8c; text-decoration: underline; }
.fp .fp-ticks { display: flex; flex-direction: column; gap: 10px; }
.fp .fp-ticks-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px 24px; }
.fp-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #222; }
.fp-cols-3 p, .fp-cols-cards p, .fp-tile p { font-size: 15px; line-height: 1.55; }

/* Cards */
.fp-card { min-width: 0; background: #fff; border: 1px solid #dfe5ec; border-radius: 8px; padding: 16px 18px 18px 18px; box-shadow: 0 2px 8px rgba(31, 78, 140, 0.10); }
.fp-cols-cards .fp-card { box-shadow: none; padding: 18px 20px 20px 20px; }
.fp-card-flush { padding: 0; overflow: hidden; }
.fp-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.fp .fp-card-title { margin: 0; font-size: 17px; font-weight: 700; color: #1f4e8c; letter-spacing: -0.2px; line-height: 1.3; }
.fp-card-name { font-size: 15px; font-weight: 600; color: #222; line-height: 1.4; }
.fp-example { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: #8a4a12; background: #fff3e8; border-radius: 3px; padding: 2px 6px; line-height: 1.4; }
.fp-tile { min-width: 0; background: #f4f6f9; border-radius: 8px; padding: 14px 16px 16px 16px; }
.fp-panel { min-width: 0; border: 1px solid #dfe5ec; border-radius: 8px; padding: 20px 22px 22px 22px; }

/* Gazette example */
.fp-notice { background: #f4f6f9; padding: 12px 16px 24px 16px; }
.fp .fp-notice-text { font-family: Georgia, 'Times New Roman', serif; font-size: 13.5px; line-height: 1.7; }
.fp mark { background: #dbe7f7; color: #173d70; border-radius: 2px; padding: 0 3px; }
.fp-notice-arrow { display: flex; justify-content: center; margin: -14px 0; }
.fp-notice-arrow span { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: #fff; background: #1f4e8c; border-radius: 99px; padding: 5px 14px; line-height: 1.5; }
.fp .fp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 26px 16px 16px 16px; }
.fp-chips li { font-size: 13px; font-weight: 600; color: #173d70; background: #dbe7f7; border-radius: 4px; padding: 4px 9px; line-height: 1.4; white-space: nowrap; }

/* Offices per province */
.fp .fp-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fp-offices li { display: flex; flex-direction: column; min-width: 0; background: #f4f6f9; border-radius: 5px; padding: 9px 8px 10px 8px; }
.fp-offices span { font-size: 13px; color: #555; line-height: 1.4; }
.fp-offices strong { font-size: 16px; font-weight: 600; color: #222; line-height: 1.3; }

/* Insider Report example */
.fp-bars { display: flex; flex-direction: column; gap: 10px; }
.fp-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; font-size: 14px; color: #555; line-height: 1.4; }
.fp-bar-head strong { font-size: 16px; font-weight: 600; color: #222; line-height: 1.3; white-space: nowrap; }
.fp-bar { height: 8px; border-radius: 2px; background: #eef1f5; }
.fp-bar span { display: block; height: 100%; border-radius: 2px; }
.fp-bar-reserve { width: 58%; background: #1f4e8c; }
.fp-bar-sold { width: 100%; background: #c9d8ee; }
.fp-facts { margin-top: 14px; }
.fp-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 14px; line-height: 1.45; color: #222; }
.fp-kv span:first-child { color: #555; }
.fp-kv span:last-child { flex: none; font-weight: 500; white-space: nowrap; }
.fp-facts .fp-kv { padding: 8px 0; border-top: 1px solid #eef1f5; }

/* Calculator examples */
.fp-sample { margin-top: 16px; background: #f4f6f9; border-radius: 6px; padding: 14px 16px 16px 16px; }
.fp-sample .fp-card-head { margin-bottom: 6px; }
.fp-sample-title { font-size: 13px; font-weight: 600; color: #222; line-height: 1.4; }
.fp-mix { display: flex; height: 12px; margin-top: 10px; border-radius: 3px; overflow: hidden; }
.fp-mix-bid { flex: 63.4 1 0; background: #1f4e8c; }
.fp-mix-costs { flex: 18.3 1 0; background: #c9d8ee; }
.fp-mix-agency { flex: 5.8 1 0; background: #f5b35c; }
.fp-mix-profit { flex: 12.5 1 0; background: #1f6b3a; }
.fp .fp-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12px; color: #333; line-height: 1.4; }
.fp-legend li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fp-key { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.fp-results { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 10px; padding-top: 12px; border-top: 1px solid #dfe5ec; }
.fp-result-label { font-size: 13px; color: #555; line-height: 1.4; }
.fp-result { font-size: 24px; font-weight: 700; color: #1f6b3a; letter-spacing: -0.4px; line-height: 1.2; }

/* Tables: one card per row on a phone, each cell under its column's name (data-label); a real table from 720px. */
.fp-table { display: block; width: 100%; max-width: 940px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; color: #222; }
.fp-table caption { display: block; caption-side: top; padding: 0 0 8px 0; font-size: 14px; font-weight: 600; color: #222; line-height: 1.4; text-align: left; }
.fp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.fp-table tbody { display: block; border: 1px solid #dfe5ec; border-radius: 8px; overflow: hidden; }
.fp-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; padding: 8px 14px 10px 14px; border-top: 1px solid #e3e8ee; }
.fp-table tr:first-child { border-top: none; }
.fp-table-packages tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fp-table-banks { max-width: 520px; }
.fp-table th[scope=row] { grid-column: 1 / -1; padding: 4px 0; font-size: 16px; font-weight: 600; text-align: left; }
.fp .fp-table th[scope=row] a { display: inline-flex; align-items: center; min-height: 40px; line-height: 1.3; }
.fp-table td { display: block; padding: 4px 0; font-weight: 500; }
.fp-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: #555; line-height: 1.4; }

/* City and office links */
.fp .fp-links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 16px; }
.fp-links li { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #555; }
.fp .fp-links a { font-weight: 600; }

/* Closing band */
.fp-start { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: clamp(32px, 5vw, 52px); padding-bottom: clamp(32px, 5vw, 52px); }
.fp-start .fp-h2 { flex: 1 1 320px; margin: 0; }
.fp .fp-start .fp-btn { align-self: center; min-height: 54px; min-width: min(100%, 260px); }

@media (min-width: 720px) {
    .fp-table { display: table; }
    .fp-table caption { display: table-caption; }
    .fp-table thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip: auto; }
    .fp-table tbody { display: table-row-group; border: none; }
    .fp-table tr, .fp-table-packages tr { display: table-row; }
    .fp-table th, .fp-table td { display: table-cell; padding: 12px 14px; border-top: 1px solid #e3e8ee; border-left: none; border-right: none; text-align: left; vertical-align: middle; }
    .fp-table thead th { background: #f4f6f9; border-top: 1px solid #dfe5ec; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: #555; }
    .fp-table th:first-child, .fp-table td:first-child { border-left: 1px solid #dfe5ec; }
    .fp-table th:last-child, .fp-table td:last-child { border-right: 1px solid #dfe5ec; }
    .fp-table tbody tr:last-child th, .fp-table tbody tr:last-child td { border-bottom: 1px solid #dfe5ec; }
    .fp-table thead th:first-child { border-top-left-radius: 8px; }
    .fp-table thead th:last-child { border-top-right-radius: 8px; }
    .fp-table tbody tr:last-child th { border-bottom-left-radius: 8px; }
    .fp-table tbody tr:last-child td:last-child { border-bottom-right-radius: 8px; }
    .fp-table th[scope=row] { padding: 6px 14px; }
    .fp-table td::before { content: none; }
}

@media (min-width: 860px) {
    .fp .fp-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .fp-stat:first-child { grid-column: auto; }
}
