/* FirstPrep Canada — warm, readable comparison interface. */
:root {
  color-scheme: light;
  --paper: #fff6e9;
  --surface: #fffdfa;
  --ink: #352633;
  --muted: #6a5e65;
  --coral: #ee775d;
  --coral-dark: #99412e;
  --sage: #dce5d1;
  --sage-ink: #354c32;
  --line: #d9ccbf;
  --soft-line: #e9ded3;
  --cream: #f7e9d8;
  --radius: 18px;
  --shadow: 0 6px 0 rgba(53, 38, 51, .045);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled, select:disabled { cursor: not-allowed; opacity: .5; }
button, input, select, textarea { border-radius: 8px; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, select, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ac503c; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-160%); z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 98px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand strong { font-size: 25px; line-height: 1.1; letter-spacing: -.8px; }
.brand small { display: block; font-size: 8px; font-weight: 700; letter-spacing: 1.3px; line-height: 2.1; margin-top: 3px; }
.brand img { flex: 0 0 38px; }
.header-inner nav { display: flex; justify-content: center; align-items: center; flex: 1; gap: 26px; }
.header-inner nav a { font-size: 13px; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { color: var(--coral-dark); }
.saved-button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; padding: 9px 12px 9px 16px; font-size: 13px; font-weight: 700; min-height: 44px; }
.saved-button span { display: inline-grid; place-items: center; min-width: 25px; min-height: 25px; padding-inline: 5px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; }
.saved-button:hover:not(:disabled) { background: var(--cream); }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 50px; padding-block: 76px 66px; }
.eyebrow { color: var(--coral-dark); font-size: 10px; line-height: 1.6; letter-spacing: .16em; font-weight: 800; margin-bottom: 22px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 6.9vw, 98px); font-weight: 400; line-height: .99; letter-spacing: -.065em; margin-bottom: 28px; }
.lede { max-width: 525px; color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 1px solid var(--ink); border-radius: 8px; font-size: 12px; line-height: 1.4; font-weight: 750; text-decoration: none; text-align: center; transition: background-color .16s, color .16s, box-shadow .16s; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover:not(:disabled) { background: #53374a; box-shadow: 0 3px 0 rgba(53,38,51,.16); }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover:not(:disabled) { background: var(--cream); }
.hero-meta { color: var(--muted); font-size: 10px; margin-top: 23px; }
.hero-visual { position: relative; align-self: center; padding-top: 14px; }
.hero-visual > img { display: block; width: 100%; }
.visual-caption { margin: 16px 0 0; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.8; }
.visual-caption span { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--paper); border-radius: 15px; padding: 27px 35px; }
.proof-item { display: flex; align-items: center; gap: 17px; padding-inline: 25px; }
.proof-item:first-child { padding-left: 0; }
.proof-item + .proof-item { border-left: 1px solid #70606a; }
.proof-item strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 43px; line-height: 1; color: #f39279; }
.proof-item span { max-width: 165px; font-size: 11px; line-height: 1.6; }
.section { padding-block: 86px 10px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.3vw, 43px); line-height: 1.17; letter-spacing: -.04em; font-weight: 400; margin-bottom: 13px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 13px; max-width: 760px; line-height: 1.7; margin-bottom: 0; }
.section-heading > .button { flex: 0 0 auto; }
.finder-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-grid { display: grid; grid-template-columns: .7fr 1.25fr 1.1fr; gap: 20px; }
.advanced-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 18px; }
.field { min-width: 0; }
.field label { display: flex; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 750; margin-bottom: 8px; }
.field label span { font-size: 11px; font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; max-width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bdb0a6; background: #fffdfa; color: var(--ink); font-size: 13px; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #8a7d81; opacity: 1; }
input:hover, select:hover { border-color: #82717b; }
input:invalid:not(:placeholder-shown) { border-color: #a64736; }
input[type="number"] { font-variant-numeric: tabular-nums; }
.filter-actions { display: flex; align-items: center; gap: 20px; padding-top: 24px; }
.filter-note { color: var(--muted); font-size: 10px; line-height: 1.65; max-width: 680px; margin: 0 auto 0 0; }
.link-button { border: 0; padding: 8px 0; background: none; color: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; white-space: normal; }
.link-button:hover:not(:disabled) { color: var(--coral-dark); }
.filter-actions > .button { flex: 0 0 auto; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 13px; }
#result-count { font-size: 16px; font-weight: 750; margin: 0; }
.sort-field { display: flex; align-items: center; gap: 12px; }
.sort-field label { font-size: 11px; font-weight: 700; }
.sort-field select { max-width: 340px; min-height: 40px; padding: 8px 32px 8px 12px; font-size: 11px; }
.query-summary { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.query-summary:empty { display: none; }
.scope-note { background: #f4e7d7; border-left: 3px solid #c18c64; padding: 13px 17px; color: #63524f; font-size: 11px; line-height: 1.75; margin-bottom: 26px; border-radius: 0 7px 7px 0; }
.scope-note strong { color: var(--ink); }
.notice { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-block: 22px; font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.cards > article, .kitchen-card, .card { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.card-top > div { min-width: 0; }
.location-tag { display: inline-block; color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 9px; }
.cards h3 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; line-height: 1.18; letter-spacing: -.025em; margin: 0 0 8px; }
.cards h3 a { text-decoration: none; }
.cards h3 a:hover { text-decoration: underline; }
.offer-name { color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 4px; }
.badge { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; max-width: 100%; padding: 5px 10px; border: 1px solid transparent; border-radius: 6px; font-size: 9px; line-height: 1.55; font-weight: 750; white-space: normal; }
.status-stated { color: #315138; background: #e2ecdd; border-color: #ceddc5; }
.status-partial { color: #805029; background: #f8e8d0; border-color: #edd7b7; }
.status-indicative { color: #6c5135; background: #f0e6d9; border-color: #e2d4bf; }
.status-commitment { color: #853f31; background: #fbe5dc; border-color: #f0cbbc; }
.status-quote { color: #63445e; background: #eee1ec; border-color: #dfcddd; }
.status-out-of-scope { color: #69575a; background: #eae3e2; border-color: #d8cdcc; }
.cost-panel { margin: 8px 0 17px; padding: 21px; background: #f7eddf; border-radius: 12px; }
.cost-panel .badge { margin-bottom: 14px; }
.price { font-size: clamp(29px, 3vw, 39px); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; color: var(--ink); font-variant-numeric: tabular-nums; margin: 0 0 6px; overflow-wrap: anywhere; }
.price small { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.price-caption { color: #6b5753; font-size: 10px; line-height: 1.65; margin: 0; }
.cash-line { border-top: 1px dashed #cdb8a4; margin: 15px 0 0; padding-top: 12px; font-size: 11px; line-height: 1.75; }
.cash-line strong { color: var(--ink); }
.rate-line { color: #68515c; font-size: 11px; line-height: 1.7; margin: 9px 0 0; }
.cost-note { font-size: 11px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.cost-note strong { color: var(--ink); }
.gap-list { color: #725743; padding-left: 18px; margin: 8px 0 17px; font-size: 11px; line-height: 1.75; }
.gap-list li + li { margin-top: 5px; }
.gap-list li::marker { color: #b66b48; }
.conditions { font-size: 11px; line-height: 1.8; color: var(--muted); border-top: 1px solid var(--soft-line); padding-top: 14px; margin-bottom: 18px; }
.conditions ul, ul.conditions { padding-left: 18px; }
.conditions li + li { margin-top: 6px; }
.conditions p { margin-bottom: 8px; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 5px; margin-top: auto; }
.card-actions .button { flex: 1 1 auto; min-height: 41px; padding: 10px 14px; font-size: 11px; }
.card-actions button[aria-pressed="true"] { background: var(--sage); color: var(--sage-ink); border-color: #a8b59c; }
.checked { color: #84757b; font-size: 9px; line-height: 1.65; margin: 16px 0 0; }
.empty-state { grid-column: 1 / -1; padding: 48px 30px; border: 1px dashed #baa89b; border-radius: 16px; text-align: center; background: #fcf0e0; }
.empty-state h3 { font-size: 30px; }
.empty-state p { color: var(--muted); font-size: 13px; max-width: 560px; margin: 12px auto; }
.coverage-section { padding-bottom: 82px; }
.province-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.province-card, .province-grid > button, .province-grid > article, .province-grid > div { min-width: 0; text-align: left; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; }
.province-grid strong { display: block; font-size: 13px; line-height: 1.5; }
.province-grid span, .province-grid small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 6px; }
.province-grid .count, .province-count { font-family: Georgia, "Times New Roman", serif; font-size: 30px; color: var(--ink); line-height: 1; margin-top: 12px; }
.province-grid button:hover:not(:disabled) { background: var(--sage); border-color: #adb99f; }
.province-grid .unresearched, .province-grid .no-coverage { background: transparent; border-style: dashed; color: var(--muted); }
.guide-section { padding-block: 65px 52px; background: var(--sage); border-top: 1px solid #c5ceb9; border-bottom: 1px solid #c5ceb9; }
.guide-section .eyebrow { color: #4d6042; margin-bottom: 10px; }
.guide-section h2 { max-width: 630px; margin-bottom: 34px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.guide-card { min-width: 0; }
.guide-card + .guide-card { border-left: 1px solid #b4c0a5; padding-left: 30px; }
.guide-card > span { display: block; color: #4c5c42; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: .1em; margin-bottom: 12px; }
.guide-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 12px; }
.guide-card p { color: #4f5b48; font-size: 12px; line-height: 1.8; }
.guide-footnote { color: #5a6652; font-size: 10px; line-height: 1.8; max-width: 820px; margin-top: 34px; }
.footer { padding-block: 40px 28px; }
.footer .shell { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 26px; }
.footer .brand strong { font-size: 22px; }
.footer p { font-size: 11px; color: var(--muted); margin-top: 13px; }
.data-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 3px; }
.data-links > a, .data-links .link-button { font-size: 11px; }
.footer .shell > small { grid-column: 1 / -1; display: block; color: #82727a; font-size: 9px; border-top: 1px solid var(--line); padding-top: 22px; line-height: 1.8; }
dialog { width: min(1080px, calc(100% - 48px)); max-width: none; max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #d2c0b3; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px rgba(34,17,28,.26); overflow: hidden; }
dialog::backdrop { background: rgba(35,23,33,.58); backdrop-filter: blur(3px); }
.modal-shell { display: flex; flex-direction: column; max-height: calc(90dvh - 2px); }
.modal-header { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 26px 30px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.modal-header h2 { font-size: 30px; line-height: 1.25; margin: 0; padding-top: 3px; outline: none; }
.close { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #beaaa7; background: transparent; border-radius: 50%; font-size: 28px; font-weight: 300; line-height: 1; }
.close:hover { background: #f4dfd2; }
.modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 27px 30px 32px; font-size: 13px; line-height: 1.8; }
.modal-body h3 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.25; font-weight: 400; margin: 24px 0 13px; }
.modal-body h4 { font-size: 14px; line-height: 1.5; margin: 20px 0 9px; }
.modal-body ul, .modal-body ol { padding-left: 21px; }
.modal-body li { overflow-wrap: anywhere; }
.modal-body li + li { margin-top: 7px; }
.modal-body a { overflow-wrap: anywhere; }
.modal-body .price { font-size: 35px; }
.dialog-status { padding: 15px 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--cream); font-size: 12px; }
.dialog-status .badge { margin-right: 10px; vertical-align: middle; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 20px; }
.detail-box { min-width: 0; background: #fcf4e9; border: 1px solid var(--soft-line); border-radius: 12px; padding: 20px; overflow-wrap: anywhere; }
.detail-box h3:first-child, .detail-box h4:first-child { margin-top: 0; }
.detail-box p { margin-bottom: 12px; }
.detail-box > :last-child { margin-bottom: 0; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; margin-block: 16px 22px; }
.cost-table th { background: #f1e6d9; color: #614a56; font-weight: 750; font-size: 10px; }
.cost-table th, .cost-table td { vertical-align: top; padding: 12px 13px; border: 1px solid #e2d4c7; overflow-wrap: anywhere; }
.cost-table tbody th { background: #f9f0e5; }
.cost-table tr:nth-child(even) td { background: #fffbf5; }
.cost-table td strong { font-weight: 750; }
.compare-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; margin-block: 18px; }
.compare-scroll .cost-table, .compare-scroll table { min-width: 740px; margin: 0; width: 100%; }
.compare-scroll th, .compare-scroll td { min-width: 170px; max-width: 310px; }
.compare-scroll th:first-child { min-width: 150px; }
.source-list { margin-bottom: 0; font-size: 12px; }
.source-list li { padding-bottom: 12px; }
.source-list li + li { border-top: 1px solid var(--soft-line); padding-top: 13px; }
.source-list a { font-weight: 650; }
.source-list small, .source-list span { display: block; color: var(--muted); font-size: 10px; line-height: 1.75; }
.copy-field { display: block; width: 100%; min-height: 150px; padding: 16px; margin-top: 14px; background: #fffaf2; border: 1px solid #bdaaa4; border-radius: 9px; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; resize: vertical; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: var(--ink); color: var(--paper); padding: 14px 22px; border: 1px solid #786071; border-radius: 10px; font-size: 12px; line-height: 1.7; text-align: center; box-shadow: 0 8px 30px #35263333; z-index: 50; }
@media (min-width: 1450px) { .hero { gap: 65px; } }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { gap: 22px; min-height: 88px; }
  .header-inner nav { gap: 18px; }
  .header-inner nav a { font-size: 11px; }
  .hero { gap: 28px; padding-block: 60px; }
  h1 { font-size: clamp(57px, 7.2vw, 80px); }
  .lede { font-size: 16px; }
  .hero-actions .button { font-size: 11px; padding-inline: 14px; }
  .proof-item { padding-inline: 18px; gap: 13px; }
  .proof-item span { font-size: 10px; }
  .proof-item strong { font-size: 37px; }
  .province-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards > article, .kitchen-card, .card { padding: 22px; }
  .card-top { gap: 10px; }
  .cards h3 { font-size: 24px; }
  .guide-grid { gap: 25px; }
  .guide-card + .guide-card { padding-left: 24px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 18px 14px; }
  .header-inner nav { order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 26px; border-top: 1px solid var(--soft-line); padding-top: 12px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 48px; }
  .hero-copy { max-width: 640px; }
  h1 { font-size: clamp(66px, 10.5vw, 83px); }
  .lede { max-width: 580px; font-size: 17px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; padding-top: 0; }
  .hero-visual > img { max-height: 330px; }
  .proof-strip { padding: 22px 24px; }
  .proof-item { display: block; padding-inline: 19px; }
  .proof-item span { display: block; margin-top: 8px; font-size: 10px; }
  .section { padding-top: 62px; }
  .section-heading { align-items: flex-start; gap: 18px; }
  .section-heading > .button { font-size: 10px; padding: 10px 13px; }
  .finder-panel { padding: 22px; }
  .filter-grid { grid-template-columns: .7fr 1fr; gap: 16px; }
  .filter-grid .field:last-child { grid-column: 1 / -1; }
  .advanced-grid { gap: 16px; }
  .filter-actions { flex-wrap: wrap; gap: 16px; padding-top: 20px; }
  .filter-note { flex: 1 0 100%; max-width: none; }
  .filter-actions .link-button { margin-right: auto; }
  .results-heading { align-items: flex-start; }
  .sort-field select { max-width: 250px; }
  .cards { gap: 18px; }
  .cards > article, .kitchen-card, .card { padding: 20px; }
  .card-top { flex-wrap: wrap; }
  .card-top > .badge { margin-bottom: 2px; }
  .cost-panel { padding: 18px; }
  .price { font-size: 34px; }
  .province-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-card + .guide-card { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid #b4c0a5; }
  .guide-card h3 { margin-bottom: 9px; }
  .guide-card p { max-width: 600px; }
  .coverage-section { padding-bottom: 60px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .brand strong { font-size: 24px; }
  .brand small { font-size: 7px; }
  .brand img { width: 33px; flex-basis: 33px; }
  .header-inner nav { justify-content: space-between; gap: 14px; }
  .header-inner nav a { font-size: 10px; }
  .saved-button { padding: 7px 10px 7px 12px; font-size: 11px; }
  .saved-button span { min-width: 22px; min-height: 22px; }
  .hero { padding-block: 37px; gap: 22px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 17px; }
  h1 { font-size: clamp(53px, 12vw, 72px); margin-bottom: 23px; }
  .lede { font-size: 15px; line-height: 1.75; margin-bottom: 22px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { min-height: 44px; font-size: 10px; padding-inline: 12px; }
  .hero-meta { font-size: 9px; margin-top: 18px; }
  .hero-visual > img { max-height: 270px; }
  .visual-caption { font-size: 8px; margin-top: 8px; }
  .visual-caption span { font-size: 10px; }
  .proof-strip { padding: 20px 17px; border-radius: 12px; }
  .proof-item { padding-inline: 12px; }
  .proof-item strong { font-size: 32px; }
  .proof-item span { font-size: 8px; line-height: 1.7; }
  .section { padding-top: 48px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p:not(.eyebrow) { font-size: 12px; }
  .section-heading > .button { margin-top: 18px; min-height: 42px; }
  .finder-panel { padding: 20px 17px; border-radius: 13px; }
  .filter-grid, .advanced-grid { grid-template-columns: 1fr; gap: 17px; }
  .filter-grid .field:last-child { grid-column: auto; }
  .field label { font-size: 12px; }
  input, select, textarea { font-size: 16px; min-height: 48px; }
  .advanced-grid { margin-top: 17px; }
  .filter-actions { gap: 12px; }
  .filter-actions > .button { font-size: 11px; padding: 12px 15px; }
  .filter-note { font-size: 10px; }
  .results-heading { flex-direction: column; align-items: stretch; gap: 13px; margin-top: 27px; }
  #result-count { font-size: 16px; }
  .sort-field { justify-content: space-between; }
  .sort-field select { flex: 1; max-width: none; font-size: 11px; }
  .scope-note { padding: 12px 14px; font-size: 10px; margin-bottom: 20px; }
  .cards { grid-template-columns: 1fr; gap: 19px; }
  .cards > article, .kitchen-card, .card { padding: 22px; border-radius: 15px; }
  .card-top { flex-wrap: nowrap; }
  .cards h3 { font-size: 26px; }
  .card-top > .badge { max-width: 130px; }
  .location-tag { font-size: 9px; }
  .cost-panel { padding: 20px; }
  .price { font-size: 38px; }
  .cost-note, .gap-list, .conditions, .cash-line, .rate-line { font-size: 12px; }
  .price-caption { font-size: 11px; }
  .card-actions .button { font-size: 12px; min-height: 44px; }
  .checked { font-size: 10px; }
  .province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .province-card, .province-grid > button, .province-grid > article, .province-grid > div { padding: 16px; }
  .province-grid strong { font-size: 12px; }
  .province-grid span, .province-grid small { font-size: 10px; }
  .coverage-section { padding-bottom: 48px; }
  .guide-section { padding-block: 42px 36px; }
  .guide-section h2 { font-size: 33px; margin-bottom: 27px; }
  .guide-card h3 { font-size: 25px; }
  .guide-card p { font-size: 12px; }
  .guide-footnote { margin-top: 28px; font-size: 10px; }
  .footer { padding-top: 31px; }
  .footer .shell { grid-template-columns: 1fr; gap: 20px; }
  .data-links { align-items: flex-start; gap: 5px; }
  .footer .shell > small { padding-top: 18px; }
  dialog { width: calc(100% - 20px); max-height: 94dvh; border-radius: 14px; }
  .modal-shell { max-height: calc(94dvh - 2px); }
  .modal-header { padding: 20px 19px 17px; gap: 14px; }
  .modal-header h2 { font-size: 25px; }
  .close { flex-basis: 38px; width: 38px; height: 38px; font-size: 25px; }
  .modal-body { padding: 22px 19px 27px; font-size: 13px; }
  .detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .detail-box { padding: 17px; }
  .cost-table th, .cost-table td { padding: 10px; font-size: 10px; }
  .cost-table:not(.compare-scroll *) { table-layout: fixed; }
  .compare-scroll .cost-table { table-layout: auto; }
  .source-list { padding-left: 19px; }
  .copy-field { font-size: 13px; }
  .toast { bottom: 15px; padding: 12px 17px; font-size: 12px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 26px); }
  .header-inner nav { gap: 8px; }
  .header-inner nav a { font-size: 9px; }
  .card-top { flex-wrap: wrap; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .proof-item strong { font-size: 28px; }
  .proof-item { padding-inline: 9px; }
  .cards > article, .kitchen-card, .card { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .shell { width: 100%; }
  .site-header nav, .saved-button, .hero-actions, .hero-visual, .finder-panel, .sort-field, .card-actions, .data-links, .toast, dialog { display: none !important; }
  .hero { padding-block: 15px; display: block; }
  h1 { font-size: 40pt; }
  .proof-strip { background: white; color: black; border: 1px solid #999; }
  .proof-item strong { color: black; }
  .cards { display: block; }
  .cards > article { break-inside: avoid; margin-bottom: 15px; box-shadow: none; }
  .section { padding-top: 25px; }
  a { color: black; }
}
/* App markup coverage: full conditions stay visible at every width. */
.cost-panel > .price { display: block; margin-top: 5px; }
.cost-panel > .cost-note { margin: 13px 0 0; font-size: 10px; }
.fee-summary { padding: 2px 0 13px; font-size: 11px; line-height: 1.75; color: var(--muted); }
.fee-summary p { margin-bottom: 7px; }
.fee-summary p:last-child { margin-bottom: 0; }
.fee-summary strong { color: #58434e; font-weight: 700; }
.gap-list { padding: 14px 16px; border-radius: 8px; background: #fcf0df; }
.gap-list h4, .conditions h4 { color: #6f4f3f; font-size: 10px; letter-spacing: .025em; line-height: 1.6; font-weight: 800; margin: 0 0 8px; }
.gap-list ul { margin: 0; padding-left: 17px; }
.conditions h4 { color: #58434e; margin-top: 15px; }
.conditions h4:first-child { margin-top: 0; }
.conditions ul { margin-bottom: 0; }
.conditions ul + h4 { margin-top: 18px; }
.address { color: var(--muted); font-size: 10px; line-height: 1.75; margin-bottom: 17px; }
.save-toggle { min-height: 41px; padding: 10px 13px; border: 1px solid #c8b8ae; background: transparent; font-size: 11px; font-weight: 750; line-height: 1.5; flex: 0 0 auto; }
.save-toggle:hover { background: var(--cream); }
.save-toggle.saved-active { border-color: #a8b59c; background: var(--sage); color: var(--sage-ink); }
.province-card > span { margin-top: 0; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.province-card > strong { margin-top: 11px; font-size: 34px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.05; }
.province-card > small { margin-top: 10px; line-height: 1.7; }
button.province-card:disabled { opacity: 1; background: transparent; border-style: dashed; cursor: default; }
button.province-card:disabled strong { color: #9d8c92; }
.compare-scroll table { border-collapse: collapse; text-align: left; font-size: 11px; line-height: 1.75; }
.compare-scroll th, .compare-scroll td { vertical-align: top; padding: 13px; border: 1px solid #e2d4c7; overflow-wrap: anywhere; }
.compare-scroll thead th { background: #eee0d0; color: #58434e; font-weight: 750; }
.compare-scroll tbody th { background: #f7ecdd; color: #614a56; font-size: 10px; }
.compare-scroll tbody tr:nth-child(even) td { background: #fff8ee; }
.compare-scroll th small { display: block; margin-top: 6px; font-size: 10px; font-weight: 400; }
.compare-scroll td small { font-size: 10px; color: var(--muted); }
.dialog-status:empty { display: none; }
.detail-box + .detail-box { margin-top: 18px; }
.detail-grid .detail-box + .detail-box { margin-top: 0; }
@media (max-width: 620px) {
  .fee-summary, .cost-panel > .cost-note { font-size: 12px; }
  .gap-list h4, .conditions h4 { font-size: 11px; }
  .address { font-size: 11px; }
  .save-toggle { min-height: 44px; font-size: 12px; }
  .compare-scroll th, .compare-scroll td { padding: 11px; }
}
/* Keep comparison terms legible without concealing long entries. */
.fee-summary, .conditions, .gap-list, .cash-line, .rate-line { font-size: 12px; }
.cost-panel > .cost-note { font-size: 11px; }
.gap-list h4, .conditions h4 { font-size: 11px; }
.status-invalid { color: #8a352c; background: #fbe4de; border-color: #e6bdb2; }
@media (max-width: 620px) { .proof-item span { font-size: 10px; } .cost-panel > .cost-note { font-size: 12px; } }
/* Readability pass: keep all fee, gap and condition body copy at 14px. */
.fee-summary, .conditions, .gap-list { font-size: 14px; line-height: 1.75; }
