/* Free homeowner tools (/tools/). Loaded after the site + v6 theme; uses the v6 tokens (tokens.css) with fallbacks. */
.ft-main [hidden] { display: none !important; }   /* the v6 .btn/.ft-form display rules must never beat [hidden] */
.ft-main { --ft-ink: var(--navy, #1F3A5F); --ft-soft: var(--ink-soft, #4A5F7A); --ft-line: rgba(31, 58, 95, .14);
  --ft-ease: cubic-bezier(.23, 1, .32, 1); --ft-paper: var(--paper, #FAFAF7); }

/* ---------- hero extras */
.ft-hero .crumbs { font-size: 14px; margin-bottom: 18px; }
.ft-hero .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.ft-chips li { font: 600 13.5px/1 var(--f-body, sans-serif); padding: 9px 13px; border-radius: 999px; color: #EAF4EC;
  background: rgba(234, 244, 236, .1); border: 1px solid rgba(234, 244, 236, .22); }
.ft-chips li:first-child { background: rgba(59, 169, 218, .2); border-color: rgba(59, 169, 218, .5); }
.ft-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.ft-noscript { padding: 24px 0; font-weight: 600; }

/* ---------- tool frame */
.ft-sec { scroll-margin-top: calc(var(--bar-h, 76px) + 8px); }
.ft-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 32px); align-items: start;
  background: var(--ft-paper); border-radius: 34px; padding: clamp(14px, 2vw, 26px);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 50px 90px -50px rgba(11, 23, 38, .45), 0 0 0 1px rgba(31, 58, 95, .06); }
.ft-visual { position: sticky; top: calc(var(--bar-h, 76px) + 24px); border-radius: 24px; overflow: hidden; background: #10213A; }
.ft-visual .sc { display: block; width: 100%; height: auto; }
.sc-cap { margin: 0; padding: 12px 16px 14px; font: 600 14px/1.3 var(--f-body, sans-serif); color: #CFE8D6; background: #10213A; min-height: 44px; }
.ft-panel { min-width: 0; padding: clamp(6px, 1.4vw, 18px) clamp(4px, 1.2vw, 14px); }
.ft-form { display: block; }

.ft-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ft-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(31, 58, 95, .1); overflow: hidden; }
.ft-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1E7A46, #3BA9DA); transform-origin: left; transform: scaleX(0);
  transition: transform .45s var(--ft-ease); }
.ft-count { font: 700 13px/1 var(--f-body, sans-serif); color: var(--ft-soft); letter-spacing: .02em; white-space: nowrap; }

.ft-step { border: 0; margin: 0; padding: 0; min-width: 0; outline: none; }
.ft-app:not(.is-live) .ft-step + .ft-step { margin-top: 36px; }
.ft-app:not(.is-live) :is(.ft-nav, .ft-progress) { display: none; }
.ft-q { font-family: var(--f-display, sans-serif); font-weight: 760; font-stretch: 84%; letter-spacing: -.03em; line-height: .98;
  font-size: clamp(28px, 3.2vw, 44px); color: var(--ft-ink); padding: 0; margin: 0 0 8px; }
.ft-hint { margin: 0 0 18px; color: var(--ft-soft); font-size: 16px; }
.ft-hint a { color: var(--forest, #1E7A46); }

.ft-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ft-choice { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ft-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ft-tile { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 44px 12px 14px; border-radius: 18px;
  background: #fff; border: 1.5px solid var(--ft-line); color: var(--ft-ink);
  transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ft-ease), box-shadow .25s var(--ft-ease); }
.ft-ico { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #EAF4EC; color: #1E7A46; }
.ft-tt { display: grid; gap: 2px; min-width: 0; }
.ft-tt b { font: 700 16px/1.2 var(--f-body, sans-serif); }
.ft-tt small { font-size: 13.5px; line-height: 1.3; color: var(--ft-soft); }
.ft-tick { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  border: 1.5px solid rgba(31, 58, 95, .25); transition: background-color .2s ease, border-color .2s ease; }
.ft-choice input[type=checkbox] ~ .ft-tile .ft-tick { border-radius: 7px; }
.ft-choice input:checked + .ft-tile { border-color: #1E7A46; background: #F2F9F3; box-shadow: 0 0 0 3px rgba(30, 122, 70, .14); }
.ft-choice input:checked + .ft-tile .ft-ico { background: #1E7A46; color: #fff; }
.ft-choice input:checked + .ft-tile .ft-tick { background: #1E7A46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; border-color: #1E7A46; }
.ft-choice input:focus-visible + .ft-tile { outline: 3px solid #3BA9DA; outline-offset: 2px; }
.ft-choice:active .ft-tile { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .ft-choice:hover .ft-tile { border-color: rgba(30, 122, 70, .55); box-shadow: 0 18px 30px -22px rgba(11, 23, 38, .45); transform: translateY(-1px); }
}

.ft-nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; min-height: 52px; }
.ft-back { font: 700 15px/1 var(--f-body, sans-serif); color: var(--ft-ink); background: none; border: 1.5px solid var(--ft-line);
  border-radius: 999px; padding: 14px 20px; cursor: pointer; touch-action: manipulation; transition: transform .16s var(--ft-ease), border-color .2s ease; }
.ft-back:active, .ft-next:active { transform: scale(.97); }
.ft-next { margin-left: auto; }
.ft-next:disabled { opacity: .45; cursor: not-allowed; }
.ft-back[hidden], .ft-next[hidden] { display: none; }

/* ---------- results */
.ft-result { outline: none; }
.ft-res-k { margin: 0 0 6px; font: 800 12.5px/1 var(--f-body, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: #1E7A46; }
.ft-res-h { margin: 0; outline: none; font-family: var(--f-display, sans-serif); font-weight: 780; font-stretch: 84%; letter-spacing: -.035em;
  line-height: .92; font-size: clamp(46px, 6vw, 84px); color: var(--ft-ink); }
.ft-approx { font-family: var(--f-serif, Georgia, serif); font-style: italic; font-weight: 400; font-size: .5em; letter-spacing: 0; color: var(--ft-soft); }
.ft-res-p { margin: 12px 0 0; font-size: 18px; line-height: 1.5; color: var(--ft-ink); max-width: 56ch; }
.ft-res-also { margin: 10px 0 0; color: var(--ft-soft); }
.ft-res-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: #EAF4EC; color: #2C6B45; font-size: 14.5px; line-height: 1.45; }
.ft-res-note a { color: inherit; font-weight: 700; }
.ft-res h3 { margin: 0 0 10px; font-family: var(--f-display, sans-serif); font-weight: 760; font-stretch: 84%; letter-spacing: -.02em; font-size: 22px; color: var(--ft-ink); }
.ft-res-why { margin-top: 22px; }
.ft-res-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ft-res-box { margin-top: 18px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--ft-line); }
.ft-res-cols .ft-res-box { margin-top: 0; }
.ft-res-do { background: #0E3F23; border-color: #0E3F23; color: #EAF4EC; }
.ft-res-do h3 { color: #fff; }
.ft-res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.45; }
.ft-res-list li { position: relative; padding-left: 18px; }
.ft-res-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #3BA9DA; }
.ft-ticks li::before { width: 10px; height: 6px; border-radius: 0; background: none; border: solid #1E7A46; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg); top: .45em; left: 0; }
.ft-res-do .ft-ticks li::before { border-color: #8FD3A6; }
.ft-res-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ft-main .ft-res-ctas a.btn.ft-call { color: var(--ft-ink); background: transparent; border: 1.5px solid rgba(31, 58, 95, .28); box-shadow: none; }
.ft-again { margin-top: 14px; background: none; border: 0; padding: 8px 0; font: 700 15px/1 var(--f-body, sans-serif); color: var(--ft-soft);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ft-src { margin: 12px 0 0; font-size: 13px; color: inherit; opacity: .8; }
.ft-src a { color: inherit; text-decoration: underline; }
.ft-res-do .ft-src, .p-sec-navy .ft-src { color: #CFE8D6; }

/* fit bars (attic) */
.ft-fit { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; }
.ft-fit li { display: grid; grid-template-columns: 9.5em 1fr 7.5em; align-items: center; gap: 12px; font-size: 14.5px; }
.ft-fit-n { font-weight: 700; color: var(--ft-ink); }
.ft-fit-bar { height: 10px; border-radius: 10px; background: rgba(31, 58, 95, .08); overflow: hidden; }
.ft-fit-bar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #1E7A46, #3BA9DA);
  transform-origin: left; transform: scaleX(var(--w)); animation: ftGrow .9s var(--ft-ease) both; }
.ft-fit li:nth-child(2) .ft-fit-bar i { animation-delay: .06s; } .ft-fit li:nth-child(3) .ft-fit-bar i { animation-delay: .12s; }
.ft-fit li:nth-child(4) .ft-fit-bar i { animation-delay: .18s; } .ft-fit li:nth-child(5) .ft-fit-bar i { animation-delay: .24s; }
.ft-fit li:first-child .ft-fit-bar i { background: linear-gradient(90deg, #1E7A46, #2FA562); }
.ft-fit-w { color: var(--ft-soft); font-size: 13.5px; }
@keyframes ftGrow { from { transform: scaleX(0); } }

/* score ring (quote) */
.ft-res-score { display: flex; align-items: center; gap: 22px; }
.ft-ring-wrap { position: relative; flex: none; width: 132px; height: 132px; }
.ft-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ft-ring circle { fill: none; stroke-width: 12; }
.ft-ring-bg { stroke: rgba(31, 58, 95, .1); }
.ft-ring-fg { stroke: #1E7A46; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ft-ease); }
.ft-ring-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 14px; color: var(--ft-soft); }
.ft-ring-n b { display: block; font-family: var(--f-display, sans-serif); font-size: 40px; font-weight: 780; line-height: 1; color: var(--ft-ink); }
.ft-res-score .ft-res-h { font-size: clamp(36px, 4.6vw, 60px); }
.ft-ask { margin: 0; padding: 0; list-style: none; counter-reset: ask; display: grid; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--ft-ink); }
.ft-ask li { counter-increment: ask; position: relative; padding-left: 36px; min-height: 26px; }
.ft-ask li::before { content: counter(ask); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center;
  font: 800 13px/1 var(--f-body, sans-serif); color: #fff; background: #F59A44; }
.ft-ask li[data-state=no]::before { background: #C2453A; }
.ft-copy { margin-top: 14px; font: 700 14px/1 var(--f-body, sans-serif); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  background: #EAF4EC; color: #1E7A46; border: 1px solid rgba(30, 122, 70, .3); transition: transform .16s var(--ft-ease); }
.ft-copy:active { transform: scale(.97); }

/* R-value scale (depth) */
.ft-scale { position: relative; height: 72px; margin: 26px 0 6px; }
.ft-scale::before { content: ''; position: absolute; left: 0; right: 0; top: 26px; height: 14px; border-radius: 14px;
  background: linear-gradient(90deg, #F3D9C2, #EAF4EC 55%, #D3EBDB); }
.ft-scale-band { position: absolute; top: 20px; height: 26px; left: var(--a); width: calc(var(--b) - var(--a)); min-width: 8px; border-radius: 26px;
  background: #1F3A5F; box-shadow: 0 8px 18px -8px rgba(31, 58, 95, .6); transform-origin: left; animation: ftGrow .9s var(--ft-ease) both; }
.ft-scale-ax { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--ft-soft); }

/* ---------- house scene (attic) */
.sc-sky-n, .sc-stars, .sc-moon { opacity: 0; transition: opacity .6s ease; }
.sc-sun { opacity: 0; transition: opacity .6s ease; }
.sc-house[data-time=night] :is(.sc-sky-n, .sc-stars, .sc-moon), .sc-house[data-time=any] :is(.sc-sky-n, .sc-stars) { opacity: 1; }
.sc-house[data-time=any] .sc-sky-n { opacity: .82; }
.sc-house[data-time=day] .sc-sun { opacity: 1; }
.sc-glow rect { fill: #F5C77A; opacity: 0; transition: opacity .6s ease; }
.sc-house[data-time=night] .sc-glow rect { opacity: .55; }
.sc-house[data-time=day] .sc-hills path { fill: #3E6B47; opacity: .35; }
.sc-zone { fill: #FAFAF7; transition: fill .35s ease; }
.sc-zone[data-zone=attic] { fill: #F1EBDD; }
.sc-zone[data-zone=crawl] { fill: #CFC4AE; }
.sc-zone.on { fill: #F8D9A8; }
.sc-frame, .sc-frame path { fill: none; stroke: #1F3A5F; stroke-width: 2; stroke-linejoin: round; }
.sc-win { fill: #BFE3F3; stroke: #1F3A5F; stroke-width: 2; transition: fill .6s ease; }
.sc-house[data-time=night] .sc-win { fill: #F5C77A; }
.sc-door { fill: #1F3A5F; }
.sc-noise circle { fill: none; stroke: #F08A2B; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sc-noise.on circle { animation: scPing 1.8s cubic-bezier(.2, .7, .3, 1) infinite; }
.sc-noise.on circle:nth-child(2) { animation-delay: .6s; } .sc-noise.on circle:nth-child(3) { animation-delay: 1.2s; }
.sc-noise[data-kind=heavy] circle { stroke-width: 4.5; }
.sc-noise[data-kind=light] circle { stroke-width: 1.6; }
@keyframes scPing { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.2); } }
.sc-drops ellipse { fill: #3A2A1C; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s ease, transform .4s var(--ft-ease); }
.sc-drops[data-size=small] ellipse { opacity: 1; transform: scale(.6); }
.sc-drops[data-size=medium] ellipse { opacity: 1; transform: scale(1.15); }
.sc-drops[data-size=large] ellipse { opacity: 1; transform: scale(2.1); }
.sc-sign { opacity: 0; transition: opacity .3s ease; }
.sc-sign circle:first-child { fill: rgba(240, 138, 43, .25); stroke: #F08A2B; stroke-width: 2; }
.sc-sign-dot { fill: #F08A2B; }
.sc-sign.on { opacity: 1; }
.sc-sign.on circle:first-child { transform-box: fill-box; transform-origin: center; animation: scPop .45s var(--ft-ease); }
@keyframes scPop { from { transform: scale(.6); } }

/* ---------- quote sheet */
.ft-app[data-app=quote] .ft-visual { padding: clamp(16px, 2vw, 26px); background: radial-gradient(120% 90% at 20% 0%, #1C3556, #0B1726); }
.qs-paper { background: #fff; border-radius: 6px; padding: 20px 20px 16px; transform: rotate(-1.5deg); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.qs-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #1F3A5F; padding-bottom: 10px; margin-bottom: 10px; }
.qs-title { font-family: var(--f-display, sans-serif); font-weight: 780; font-size: 26px; letter-spacing: -.03em; color: #1F3A5F; }
.qs-lines { display: grid; gap: 5px; width: 40%; } .qs-lines i { display: block; height: 5px; border-radius: 4px; background: #E3E8EE; }
.qs-lines i + i { width: 70%; justify-self: end; }
.qs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.qs-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #E3E8EE; font-size: 13.5px; line-height: 1.3; color: #4A5F7A; }
.qs-list li[hidden] { display: none; }
.qs-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed #B7C2CE; background: center/14px no-repeat; transition: background-color .25s ease, border-color .25s ease; }
.qs-list li[data-state=yes] .qs-mark { background-color: #1E7A46; border: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.qs-list li[data-state=unsure] .qs-mark { background-color: #F59A44; border: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.7.3-1 .8-1 1.5M12 17h0' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.qs-list li[data-state=no] .qs-mark { background-color: #C2453A; border: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 8 8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.qs-list li[data-state=yes] { color: #1F3A5F; }
.qs-foot { margin-top: 12px; font-size: 13.5px; color: #4A5F7A; }
.qs-foot b { color: #1F3A5F; }
.qs.qs-empty .qs-list::before { content: 'Pick what your quote covers to see its lines.'; display: block; padding: 22px 0; color: #8494A8; font-size: 14px; }
.ft-app[data-app=quote] .sc-cap { display: none; }

/* ---------- depth scene */
.ft-app[data-app=depth] .ft-visual { background: #E7EEF3; }
.ft-app[data-app=depth] .sc-cap { background: #E7EEF3; color: #1F3A5F; }
.ds-air { fill: #E7EEF3; }
.ds-rafter { fill: none; stroke: #8A6A45; stroke-width: 12; stroke-linejoin: round; }
.ds-joist { fill: #C69C6D; stroke: #8A6A45; stroke-width: 1.5; }
.ds-ins { transition: y .25s var(--ft-ease), height .25s var(--ft-ease); stroke: rgba(31, 58, 95, .25); }
.ds-ceiling { fill: #FAFAF7; stroke: #B7C2CE; }
.ds-below { font: 600 11px var(--f-body, sans-serif); fill: #6B7C90; text-anchor: middle; }
.ds-ruler rect { fill: #F5C542; stroke: #9C7B12; }
.ds-ticks path { stroke: #3A2E08; stroke-width: 1.2; }
.ds-nums text { font: 700 10px var(--f-body, sans-serif); fill: #1F3A5F; text-anchor: end; }
.ds-read { transition: transform .25s var(--ft-ease); }
.ds-read path { stroke: #F08A2B; stroke-width: 3; stroke-linecap: round; }
.ds-read text { font: 800 14px var(--f-body, sans-serif); fill: #1F3A5F; text-anchor: end; paint-order: stroke; stroke: #E7EEF3; stroke-width: 4px; }

/* depth slider */
.ft-depth { margin-top: 6px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--ft-line); }
.ft-depth-l { display: block; font: 700 17px/1.2 var(--f-body, sans-serif); color: var(--ft-ink); margin-bottom: 14px; }
.ft-depth-l output { font-family: var(--f-display, sans-serif); font-size: 44px; font-weight: 780; letter-spacing: -.03em; color: #1E7A46; vertical-align: -6px; }
.ft-main input.ft-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; outline: none; touch-action: pan-y; cursor: pointer; }
.ft-range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #1E7A46 var(--p, 40%), rgba(31, 58, 95, .12) var(--p, 40%)); }
.ft-range::-moz-range-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #1E7A46 var(--p, 40%), rgba(31, 58, 95, .12) var(--p, 40%)); }
.ft-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; border: 3px solid #1E7A46; box-shadow: 0 6px 14px -4px rgba(11, 23, 38, .45); }
.ft-range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid #1E7A46; }
.ft-main input.ft-range:focus-visible { outline: 3px solid #3BA9DA; outline-offset: 4px; border-radius: 10px; }
.ft-depth-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ft-depth-scale { flex: 1; display: flex; justify-content: space-between; font-size: 12px; color: var(--ft-soft); }
.ft-nudge { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ft-line); background: #fff; font: 700 22px/1 var(--f-body, sans-serif);
  color: var(--ft-ink); cursor: pointer; touch-action: manipulation; transition: transform .16s var(--ft-ease); }
.ft-nudge:active { transform: scale(.94); }

/* ---------- static sections */
.ft-guide { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ft-guide li { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: rgba(250, 250, 247, .06); border: 1px solid rgba(250, 250, 247, .14); color: #F4F6F2; }
.ft-guide b { font-size: 18px; } .ft-guide li > span:last-child { color: rgba(244, 246, 242, .75); }
.ft-g-ico .ft-ico { width: 52px; height: 52px; background: rgba(234, 244, 236, .12); color: #CFE8D6; }
.p-sec-navy .ft-g-cdc a, .p-sec-navy .p-sub a { color: #CFE8D6; text-decoration: underline; }

.ft-safe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.ft-safe-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ft-safe-list li { display: grid; gap: 3px; padding: 14px 16px 14px 48px; position: relative; border-radius: 16px; background: #FFF4E8; border: 1px solid #F6D3AE; }
.ft-safe-list li::before { content: '!'; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: #F08A2B; color: #1A1206;
  font: 800 14px/22px var(--f-body, sans-serif); text-align: center; }
.ft-safe-list b { color: var(--ft-ink); } .ft-safe-list span { color: var(--ft-soft); font-size: 15px; } .ft-safe-list a { color: #1E7A46; }
.ft-how-h { margin-bottom: 22px; }
.ft-how { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: none; }
.ft-how li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; }
.ft-how-n { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-content: center; background: #1F3A5F; color: #fff;
  font-family: var(--f-display, sans-serif); font-weight: 780; font-size: 22px; }
.ft-how b { color: var(--ft-ink); font-size: 17px; } .ft-how li > span:last-child { color: var(--ft-soft); }
.ft-es b { white-space: nowrap; }

.ft-cl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.ft-cl-list { color: #F4F6F2; }
.ft-cl-cta { margin-top: 22px; }

/* hub cards */
.ft-cards { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ft-card a { position: relative; display: grid; gap: 12px; align-content: start; min-height: 340px; height: 100%; padding: 26px; border-radius: 28px;
  text-decoration: none; overflow: hidden; transition: transform .45s var(--ft-ease), box-shadow .45s var(--ft-ease); }
.ft-card-dusk a { background: radial-gradient(120% 90% at 100% 0%, #1C3556, #0B1726); color: #F4F6F2; }
.ft-card-forest a { background: radial-gradient(120% 90% at 100% 0%, #1E7A46, #0E3F23); color: #F4F6F2; }
.ft-card-paper a { background: #EAF4EC; color: #1F3A5F; border: 1px solid rgba(30, 122, 70, .2); }
.ft-card-ico .ft-ico { width: 64px; height: 64px; padding: 13px; border-radius: 20px; background: rgba(250, 250, 247, .12); color: #CFE8D6; }
.ft-card-paper .ft-card-ico .ft-ico { background: #fff; color: #1E7A46; }
.ft-card-n { position: absolute; right: 22px; top: 18px; font-family: var(--f-serif, Georgia, serif); font-style: italic; font-size: 64px; line-height: 1; opacity: .25; }
.ft-card b { font-family: var(--f-display, sans-serif); font-weight: 780; font-stretch: 84%; letter-spacing: -.03em; font-size: clamp(28px, 2.6vw, 38px); line-height: .98; margin-top: 18px; }
.ft-card-p { font-size: 16.5px; line-height: 1.45; opacity: .85; }
.ft-card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 800 15px/1 var(--f-body, sans-serif);
  padding: 13px 18px; border-radius: 999px; background: #F08A2B; color: #1A1206; }
.ft-card-go svg { width: 18px; height: 18px; transition: transform .3s var(--ft-ease); }
.ft-card a:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .ft-card a:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -36px rgba(11, 23, 38, .6); }
  .ft-card a:hover .ft-card-go svg { transform: translateX(4px); }
}
.ft-note { margin: 22px 0 0; color: var(--ft-soft); font-size: 15px; }

/* ---------- tablet + phone */
@media (max-width: 1000px) {
  .ft-cards { grid-template-columns: 1fr; }
  .ft-card a { min-height: 0; }
  .ft-guide { grid-template-columns: 1fr; }
  .ft-safe, .ft-cl { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ft-app { grid-template-columns: 1fr; border-radius: 26px; padding: 10px; }
  .ft-visual { position: relative; top: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; border-radius: 18px; }
  .ft-visual .sc { height: clamp(120px, 24vh, 210px); width: auto; max-width: 100%; }
  .sc-cap { padding: 10px 14px; font-size: 13.5px; min-height: 0; }
  .ft-app[data-app=quote] .ft-visual { display: block; padding: 12px; }
  .ft-app[data-app=quote] .qs-paper { transform: none; padding: 12px 14px 10px; }
  .ft-app[data-app=quote] .qs-list { max-height: 18vh; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .ft-app[data-app=quote] .qs-title { font-size: 20px; }
  .ft-app.is-done .ft-visual { display: none; }
  .ft-panel { padding: 14px 6px 6px; }
  .ft-res-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ft-choices { grid-template-columns: 1fr; gap: 8px; }
  .ft-tile { min-height: 60px; padding: 10px 42px 10px 12px; }
  .ft-ico { width: 36px; height: 36px; padding: 7px; }
  .ft-q { font-size: 28px; }
  .ft-hint { margin-bottom: 14px; font-size: 15px; }
  .ft-fit li { grid-template-columns: 7.2em 1fr; }
  .ft-fit-w { display: none; }
  .ft-res-score { gap: 16px; }
  .ft-ring-wrap { width: 104px; height: 104px; }
  .ft-ring-n b { font-size: 32px; }
  .ft-res-ctas .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .ft-hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
/* short phone screens (Safari with toolbars: 390x664, 375x553): smaller picture, tighter tiles */
@media (max-width: 860px) and (max-height: 700px) {
  .ft-visual .sc { height: clamp(96px, 19vh, 150px); }
  .ft-app[data-app=quote] .qs-list { max-height: 12vh; }
  .ft-tile { min-height: 54px; padding-block: 8px; }
  .ft-tt small { display: none; }
  .ft-q { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-noise.on circle { animation: none; opacity: .8; transform: scale(1.6); }
  .sc-noise.on circle:nth-child(n+2) { opacity: 0; }
  .ft-fit-bar i, .ft-scale-band, .sc-sign.on circle:first-child { animation: none; }
  .ft-ring-fg, .ft-bar i, .ds-ins, .ds-read { transition: none; }
}

/* Footer legal line: the old v3 sheets make it flex (b/a stacked and overlapping on phones); keep it one inline line like the live site. */
/* (mobile-polish.css: '.foot p:has(> a + a)' sets flex + font-size 0 + line-height 0) */
.foot p.foot-legal { display: block !important; font-size: 14px !important; line-height: 1.6 !important; }
.foot p.foot-legal > b, .foot p.foot-legal > a { display: inline !important; min-height: 0; }

/* Phones (Isaac 2026-10-28): the Next / "See my result" row stays pinned just above the Call/Book bar, so it is
   never hidden below the screen after ticking the last boxes. */
@media (max-width: 900px) {
  .ft-app.is-live .ft-nav {
    position: sticky; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 5;
    margin-inline: -12px; padding: 10px 12px; border-radius: 16px;
    background: color-mix(in srgb, var(--paper, #FAFAF7) 92%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -6px 20px rgba(31, 58, 95, .10);
  }
}

/* ---------------------------------------------------------------- find the gaps (walk-around), 2026-10-28 */
.sc-gaps { display: block; width: 100%; height: auto; }
.gs-mark { cursor: default; }
.gs-mark .gs-ring { fill: none; stroke: #F08A2B; stroke-width: 2.5; opacity: 0; }
.gs-mark .gs-dot { fill: #FAFAF7; stroke: #1F3A5F; stroke-width: 2; transition: fill .25s ease, stroke .25s ease; }
.gs-mark text { font: 700 12px/1 var(--f-body, sans-serif); fill: #1F3A5F; text-anchor: middle; }
.gs-mark.is-now .gs-ring { opacity: 1; transform-box: fill-box; transform-origin: center; animation: gsPulse 1.4s ease-out infinite; }
.gs-mark.is-now .gs-dot { fill: #1F3A5F; } .gs-mark.is-now text { fill: #FAFAF7; }
.gs-mark[data-state=ok] .gs-dot { fill: #1E7A46; stroke: #145532; } .gs-mark[data-state=ok] text { fill: #fff; }
.gs-mark[data-state=gap] .gs-dot { fill: #F08A2B; stroke: #B85E12; } .gs-mark[data-state=gap] text { fill: #1F3A5F; }
.gs-mark[data-state=unsure] .gs-dot { fill: #C4CCD3; stroke: #7E878D; }
@keyframes gsPulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ft-gaps { list-style: none; margin: 0; padding: 0; counter-reset: g; display: grid; gap: 12px; }
.ft-gaps li { counter-increment: g; position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: #FFF5EB;
  border: 1px solid rgba(240, 138, 43, .35); display: grid; gap: 4px; }
.ft-gaps li::before { content: counter(g); position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: #F08A2B; color: #1F3A5F; font: 800 13px/24px var(--f-body, sans-serif); text-align: center; }
.ft-gaps b { color: var(--ft-ink); font-size: 1.05em; }
.ft-gaps span { color: var(--ft-soft); }
.ft-gaps .ft-gaps-do { color: var(--ft-ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .gs-mark.is-now .gs-ring { animation: none; } }
