/* ==========================================================================
   style.css, hand rolled. Night navy, ember orange and oat cream.
   If you are reading this in devtools: hello, the kettle is on.
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("/fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("/fonts/instrument-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --night: #012e48;
  --night-2: #0a3b58;
  --night-3: #154a6a;
  --ink: #012e48;
  --text: #3f4a45;
  --muted: #56605b;
  --cream: #f4f6f4;
  --oat: #e8f1ea;
  --paper: #ffffff;
  --line: #d6e2d9;
  --ember: #5ed95f;
  --ember-d: #06752e;
  --gold: #5ed95f;
  --frost: #cfe6f7;
  --sky: #7cc8f5;
  --moss: #06752e;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(1, 46, 72, .06), 0 10px 30px -12px rgba(1, 46, 72, .22);
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

/* Border-box for everyone. The one family rule nobody in this stylesheet is allowed to break */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-d); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ember); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* .btn--ember wears navy text. White on this orange scored 2.7 and got sent home to change */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--ember { background: var(--ember); color: var(--night); box-shadow: 0 6px 18px -8px rgba(94, 217, 95, .9); }
.btn--ember:hover { background: #7be27c; color: var(--night); }
.btn--night { background: var(--night); color: #fff; }
.btn--night:hover { background: var(--night-3); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.08rem; }

/* .topbar: first thing to pack its bags at 640px, and it never complains */
.topbar { background: var(--night); color: #d7e6ef; font-size: .88rem; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__in p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__note .ico { color: var(--ember); }
.topbar__rate { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; margin-left: auto; }
.topbar__phone { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.topbar__phone span { font-weight: 400; color: #b5cddb; }
.topbar__rate + .topbar__phone { margin-left: 0; }
.topbar__note + .topbar__phone { margin-left: auto; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.stars svg.off { fill: #cfd6dd; }
.stars--sm svg { width: 14px; height: 14px; }

/* .mast sticks to the ceiling better than the condensation it is here to sell against */
.mast { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.mast.is-stuck { box-shadow: 0 8px 24px -16px rgba(1, 46, 72, .45); }
.mast__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 44px; height: 44px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word b { font: 800 1.5rem/1 var(--display); letter-spacing: -.035em; }
.logo__word small { font: 600 .8rem/1.2 var(--body); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.logo--dark { color: #fff; }
.logo--dark .logo__word small { color: #b5cddb; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { padding: 10px 10px; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav__link:hover, .nav__item.is-current .nav__link { background: var(--oat); color: var(--ink); }
.nav__drop { width: 28px; height: 36px; margin-left: -6px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; }
.nav__drop .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav__drop[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mast__cta { display: flex; align-items: center; gap: 10px; }
.mast__call, .burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); place-items: center; cursor: pointer; }

.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 560px; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; }
.mega__in { padding: 12px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__list a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega__list a:hover { background: var(--oat); color: var(--ink); }
.mega__list .ico { width: 36px; height: 36px; padding: 7px; border-radius: 9px; background: var(--night); color: var(--ember); }
.mega__list b { display: block; font-size: .96rem; }
.mega__list small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.mega--areas { width: 460px; }
.mega__regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__regions a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mega__regions a:hover { background: var(--oat); color: var(--ink); }
.mega__regions .ico { color: var(--ember-d); }
.mega__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px; border-radius: 10px; background: var(--night); color: #fff; font-weight: 700; text-decoration: none; }
.mega__all:hover { color: var(--gold); }

.sheet { position: fixed; inset: 0; z-index: 250; background: var(--night); color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sheet__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.sheet__nav { padding: 8px 16px; flex: 1; }
.sheet__link, .sheet__group summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font: 700 1.2rem/1.2 var(--display); text-decoration: none; cursor: pointer; list-style: none; }
.sheet__group summary::-webkit-details-marker { display: none; }
.sheet__group[open] summary .ico { transform: rotate(180deg); }
.sheet__group ul { list-style: none; margin: 0; padding: 6px 0 12px; }
.sheet__group li a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: #d7e6ef; text-decoration: none; }
.sheet__foot { padding: 16px; display: grid; gap: 10px; }
html.is-locked { overflow: hidden; }

/* .hero: it is always dusk in here, purely so the orange has something to glow against */
.hero { position: relative; background: radial-gradient(1200px 520px at 80% 10%, #0b4a6e 0%, rgba(11, 74, 110, 0) 60%), var(--night); color: #e6f0f5; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(0, 0, 0, .18)); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 64px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero__lede { font-size: 1.2rem; color: #c7dbe6; max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: #e6f0f5; font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--gold); }
.hero__art { position: relative; }

/* .hshot: a real roof photo with a before shot pinned to its corner, like a fridge with one very proud magnet */
.hshot { position: relative; margin: 0 0 0 auto; max-width: 600px; }
.hshot__main { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 45%; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.hshot__before { position: absolute; left: -26px; bottom: -26px; width: 34%; margin: 0; padding: 6px; background: var(--paper); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); transform: rotate(-3deg); }
.hshot__before img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.hshot__before figcaption { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 6px; background: var(--frost); color: var(--night); font-weight: 700; font-size: .78rem; }
.hshot__card { position: absolute; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--paper); color: var(--text); font-size: .86rem; line-height: 1.3; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); max-width: 190px; }
.hshot__card b { display: block; font: 800 1.35rem/1.1 var(--display); color: var(--ink); }
.hshot__card--a { top: 22px; right: -18px; }
.hshot__card--b { right: 22px; bottom: -22px; background: var(--ember); color: var(--night); }
.hshot__card--b b { color: var(--night); }


/* .qs__opt buttons lift 2px on hover, the most exercise this stylesheet gets all day */
.qs { margin-top: 28px; background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); max-width: 560px; }
.qs__q { font: 800 1.2rem/1.2 var(--display); color: var(--ink); margin: 0 0 4px; }
.qs__sub { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.qs__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qs__opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 10px 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 700; text-align: center; text-decoration: none; line-height: 1.2; transition: border-color .15s, background .15s, transform .15s; }
.qs__opt:hover { border-color: var(--ember); background: #eaf8ec; color: var(--ink); transform: translateY(-2px); }
.qs__opt .ico { width: 30px; height: 30px; color: var(--ember-d); }
.qs__trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.qs__trust span { display: inline-flex; align-items: center; gap: 6px; }
.qs__trust .ico { color: var(--moss); width: 1em; height: 1em; }

/* .rs__range is an invisible input lying across the drawing like a cat on a keyboard, fully in charge */
.rs { margin: 0; }
.rs__stage { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(#0d4466, #2a6a93 70%, #4f86ab); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.rs__svg { width: 100%; height: auto; }
.rs__range { position: absolute; inset: 0; }
.rs__range input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; font-size: 16px; }
.rs__range input:focus-visible { opacity: .01; }
.rs__stage:has(input:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }
.rs__tag { position: absolute; top: 14px; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: .84rem; pointer-events: none; }
.rs__tag b { margin-right: 4px; }
.rs__tag--old { left: 14px; background: rgba(207, 230, 247, .95); color: var(--night); }
.rs__tag--new { right: 14px; background: var(--ember); color: var(--night); }
.rs__cap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.rs__stat { display: block; padding: 12px 14px; border-radius: 12px; font-size: .88rem; line-height: 1.35; }
.rs__stat b { display: block; font: 800 1.6rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 2px; }
.rs__stat--old { background: rgba(207, 230, 247, .12); color: #d4e6f5; border: 1px solid rgba(207, 230, 247, .25); }
.rs__stat--old b { color: var(--sky); }
.rs__stat--new { background: rgba(94, 217, 95, .12); color: #d9f5da; border: 1px solid rgba(94, 217, 95, .35); }
.rs__stat--new b { color: var(--gold); }
.rs__drips path { animation: drip 2.6s ease-in infinite; }
.rs__rain path { animation: rain 1.1s linear infinite; }
@keyframes rain { 0% { transform: translateY(-10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
.rs__steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: .9; transform: translateY(-3px); } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rs__drips path, .rs__rain path, .rs__steam, .ticker__track { animation: none !important; } }

/* .ticker__track is two identical lists in a trench coat pretending to be one endless one */
.ticker { background: var(--ember); color: var(--night); overflow: hidden; border-block: 2px solid var(--night); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__track li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font: 800 1.1rem/1 var(--display); white-space: nowrap; }
.ticker__track li::after { content: ""; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--night); margin-left: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec--oat { background: var(--oat); }
.sec--paper { background: var(--paper); }
.sec--night { background: var(--night); color: #d2e3ec; }
.sec--night h2, .sec--night h3 { color: #fff; }
.sec--night a:not(.btn) { color: var(--gold); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 36px; }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.sec--night .sec__head p { color: #b5cddb; }

.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.opt { display: flex; flex-direction: column; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.opt__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--oat); }
.opt__pic img { width: 100%; height: 100%; object-fit: cover; }
.opt__size { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: var(--night); color: #fff; font-weight: 700; font-size: .86rem; }
.opt__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.opt__body h3 { margin-bottom: 6px; }
.opt__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 12px; color: var(--ink); }
.opt__price small { color: var(--muted); font-size: .9rem; }
.opt__price b { font: 800 2.3rem/1 var(--display); letter-spacing: -.03em; }
.opt__spec { list-style: none; margin: 0 0 18px; padding: 0; font-size: .95rem; }
.opt__spec li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.opt__spec li span { color: var(--muted); }
.opt__spec li b { color: var(--ink); text-align: right; }
.opt .btn { margin-top: auto; }

/* .xr__svg is skewed 8 degrees. Nothing in the building trade is ever perfectly level */
.xr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.xr__svg { width: 100%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.xr__layer { transition: opacity .2s, transform .2s; }
.xr.has-pick .xr__layer { opacity: .3; }
.xr.has-pick .xr__layer.is-on { opacity: 1; }
.xr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xr__btn { width: 100%; display: grid; grid-template-columns: 26px 1fr; gap: 2px 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #d2e3ec; font: inherit; cursor: pointer; }
.xr__btn:hover { border-color: rgba(255, 255, 255, .35); }
.xr__btn.is-on { background: rgba(94, 217, 95, .12); border-color: var(--ember); }
.xr__num { grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ember); color: var(--night); font-weight: 800; font-size: .9rem; }
.xr__btn b { color: #fff; font-size: 1rem; }
.xr__btn small { color: #b5cddb; font-size: .9rem; line-height: 1.4; }

/* .calc does sums on the left and shows off on the right, like every good estimator */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.calc__form { padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; align-content: start; }
.calc__form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__form legend, .calc__label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: .95rem; }
.chip input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.chip svg { width: 28px; height: 20px; }
.calc__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--body); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--night); outline: none; box-shadow: 0 0 0 3px rgba(94, 217, 95, .35); }
.field small { color: var(--muted); font-size: .86rem; }
.calc__out { background: var(--night); color: #d2e3ec; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.calc__h { color: #fff; margin: 0; font: 800 1.3rem/1.2 var(--display); }
.calc__price { font: 800 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--display); color: #fff; letter-spacing: -.03em; }
.calc__price small { display: block; font: 400 .92rem/1.4 var(--body); color: #b5cddb; letter-spacing: 0; margin-top: 8px; }
.calc__rows { list-style: none; margin: 0; padding: 0; }
.calc__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .96rem; }
.calc__rows b { color: #fff; text-align: right; }
.calc__rows .is-good b { color: var(--gold); }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 96px 1fr 72px; gap: 10px; align-items: center; font-size: .86rem; }
.bar__track { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 6px; background: var(--sky); transition: width .35s; }
.bar--new .bar__fill { background: var(--ember); }
.bar b { color: #fff; text-align: right; }
.calc__note { font-size: .82rem; color: #9dbccb; margin: 0; }
.calc__out .btn { margin-top: auto; }

.wide { margin: 1.6em 0 2em; }
.wide .opts { gap: 12px; }
.wide .opt__body { padding: 16px; }
.wide .opt__body h3 { font-size: 1.08rem; }
.wide .opt__price b { font-size: 1.9rem; }
.wide .opt__spec li { flex-direction: column; gap: 0; }
.wide .opt__spec li b { text-align: left; }

.walk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: w; }
.walk li { position: relative; padding: 22px 20px 20px; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); }
.walk time { display: inline-block; font: 800 .95rem/1 var(--display); color: var(--night); background: var(--gold); padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.walk h3 { font-size: 1.15rem; margin-bottom: 6px; }
.walk p { margin: 0; font-size: .96rem; }
.walk li:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -19px; width: 20px; border-top: 2px dotted var(--ember); }

/* .cmp table has a min-width of 720px and scrolls sideways on phones rather than folding like a deckchair */
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.cmp table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .96rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.cmp thead th { background: var(--night); color: #fff; font-family: var(--display); font-size: 1rem; }
.cmp thead th.is-us { background: var(--ember); color: var(--night); }
.cmp tbody th { color: var(--ink); font-weight: 700; width: 22%; background: var(--cream); }
.cmp td.is-us { background: #eaf8ec; color: var(--ink); font-weight: 600; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gal figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.gal img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gal figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); }

/* .show: the showroom slideshow. Slides stack on top of each other and cross-fade, the caption rides in from below */
.show { position: relative; }
.show__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #011f31; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.show__track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.show__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.show__slide.is-on { opacity: 1; visibility: visible; }
.show__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.show__open img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s ease-out; }
.show__slide.is-on .show__open img { transform: scale(1); }
.show__slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(1, 30, 48, .88)); pointer-events: none; }
.show__txt { position: absolute; left: clamp(18px, 4vw, 44px); right: clamp(18px, 4vw, 44px); bottom: clamp(18px, 4vw, 40px); z-index: 2; color: #fff; pointer-events: none; }
.show__txt > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease .25s, transform .6s ease .25s; }
.show__slide.is-on .show__txt > * { opacity: 1; transform: none; }
.show__slide.is-on .show__title { transition-delay: .35s; }
.show__slide.is-on .show__sub { transition-delay: .45s; }
.show__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-weight: 700; font-size: .88rem; }
.show__tag i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.show__title { margin: 12px 0 6px; font: 800 clamp(1.6rem, 1rem + 2.6vw, 3.1rem)/1.02 var(--display); letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.show__sub { margin: 0; max-width: 36em; font-size: clamp(.95rem, .9rem + .3vw, 1.12rem); color: #dde9ef; }
.show__nav { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--night); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .15s, background .15s; }
.show__nav:hover { background: var(--ember); transform: scale(1.06); }
.show__nav--prev { left: 18px; }
.show__nav--prev .ico { transform: rotate(180deg); }
.show__nav--next { right: 18px; }
.show__count { position: absolute; top: 18px; right: 20px; z-index: 3; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(1, 30, 48, .6); color: #c7dbe6; font-size: .88rem; }
.show__count b { color: #fff; }
.show__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, .15); }
.show__bar i { display: block; height: 100%; width: 0; background: var(--ember); }
.show.is-playing .show__bar i { animation: showbar 6s linear forwards; }
@keyframes showbar { to { width: 100%; } }
.show__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; }
.show__thumb { flex: none; width: 108px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; scroll-snap-align: start; }
.show__thumb img { width: 100%; height: 100%; object-fit: cover; }
.show__thumb:hover, .show__thumb.is-on { opacity: 1; }
.show__thumb.is-on { border-color: var(--ember); }
.gal__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

/* .lb: the full screen lightbox. Esc, the round X, a swipe or a click on the dark all close it */
.lb { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-rows: 1fr auto; background: rgba(1, 26, 42, .96); color: #fff; opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb__fig { position: relative; margin: 0; display: grid; place-items: center; padding: 70px 90px 10px; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 220px); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); transition: opacity .25s, transform .25s; }
.lb__fig img.is-swap { opacity: 0; transform: scale(.98); }
.lb__cap { padding: 14px 24px 26px; text-align: center; }
.lb__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ember); color: var(--night); font-weight: 700; font-size: .82rem; }
.lb__title { margin: 10px 0 4px; font: 800 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; }
.lb__text { margin: 0 auto; max-width: 42em; color: #c7dbe6; }
.lb__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: transform .2s, background .2s; }
.lb__close:hover { background: var(--ember); color: var(--night); transform: rotate(90deg); }
.lb__close .ico { width: 26px; height: 26px; }
.lb__nav { position: absolute; top: 50%; z-index: 2; width: 58px; height: 58px; margin-top: -29px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--night); cursor: pointer; }
.lb__nav:hover { background: var(--ember); }
.lb__nav--prev { left: 18px; }
.lb__nav--prev .ico { transform: rotate(180deg); }
.lb__nav--next { right: 18px; }
.lb__count { position: absolute; top: 30px; left: 24px; margin: 0; color: #c7dbe6; font-size: .9rem; }
@media (max-width: 640px) {
  .show__stage { aspect-ratio: 4 / 5; border-radius: 16px; }
  .show__nav { width: 46px; height: 46px; margin-top: -23px; top: 40%; }
  .show__nav--prev { left: 10px; }
  .show__nav--next { right: 10px; }
  .show__sub { font-size: .92rem; }
  .show__thumb { width: 84px; height: 62px; }
  .lb__fig { padding: 70px 12px 6px; }
  .lb__fig img { max-height: calc(100vh - 250px); }
  .lb__nav { top: auto; bottom: 18px; margin-top: 0; width: 50px; height: 50px; }
  .lb__cap { padding: 10px 76px 22px; }
}
@media (prefers-reduced-motion: reduce) { .show__slide, .show__open img, .show__txt > *, .lb { transition: none !important; } .show.is-playing .show__bar i { animation: none; } }

/* .swap puts the drawing on the left and four plain reasons on the right, so big screens stop echoing */
.swap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.swap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.swap__list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #c7dbe6; font-size: .95rem; }
.swap__list .ico { width: 30px; height: 30px; color: var(--ember); margin-top: 2px; }
.swap__list b { display: block; color: #fff; font: 800 1.08rem/1.25 var(--display); margin-bottom: 2px; }
.faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.faqwrap .faq { max-width: none; }
.faqside { position: sticky; top: 100px; background: var(--night); color: #c7dbe6; border-radius: var(--r-lg); overflow: hidden; }
.faqside img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.faqside__b { padding: 20px; }
.faqside__h { font: 800 1.35rem/1.15 var(--display); color: #fff; margin: 0 0 6px; }
.cmpm { display: none; }
.show__thumbs { scrollbar-width: none; }
.show__thumbs::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .swap, .faqwrap { grid-template-columns: minmax(0, 1fr); } .faqside { position: static; } }

/* .ben photo cards: four real rooms, each with one reason nobody hides in there any more */
.bens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ben { margin: 0; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ben img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ben figcaption { padding: 14px 16px 18px; font-size: .95rem; }
.ben figcaption b { display: block; font: 800 1.15rem/1.2 var(--display); color: var(--ink); margin-bottom: 4px; }
.gal--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .bens, .gal--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bens { grid-template-columns: minmax(0, 1fr); } .gal--four { grid-template-columns: none; } }
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rev { margin: 0; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rev blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.rev figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.rev figcaption b { color: var(--ink); display: block; }
.sample-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }

.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.area { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; }
.area:hover { border-color: var(--ember); background: rgba(94, 217, 95, .1); color: #fff; }
.area b { font: 800 1.2rem/1.2 var(--display); }
.area span { font-size: .88rem; color: #b5cddb; }
.towns { columns: 4 180px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.towns li { break-inside: avoid; }
.towns a { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.towns a:hover { color: var(--ember-d); }
.sec--night .towns a { color: #e6f0f5; border-color: rgba(255, 255, 255, .1); }

/* .faq__i: one open at a time, like a conservatory door in January */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__i { background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 12px; }
.faq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 18px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary .ico { transition: transform .2s; color: var(--ember-d); }
.faq__i[open] summary .ico { transform: rotate(180deg); }
.faq__a { padding: 0 18px 18px; color: var(--text); }
.faq__a p:last-child { margin-bottom: 0; }

.cta { background: var(--ember); color: var(--night); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 48px 0; }
.cta h2 { color: var(--night); margin: 0 0 6px; }
.cta p { margin: 0; font-size: 1.1rem; color: var(--night); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn--ghost { color: var(--night); border-color: var(--night); }

.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); color: #e6f0f5; font-weight: 600; font-size: .96rem; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof .ico { color: var(--gold); }
.uchart { margin: 0 0 28px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.uchart__cap { font: 800 1.1rem/1.3 var(--display); color: var(--ink); margin-bottom: 14px; }
.uchart ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uchart li { display: grid; grid-template-columns: minmax(150px, 240px) 1fr 48px; gap: 12px; align-items: center; font-size: .95rem; }
.uchart__t { display: block; height: 18px; background: var(--oat); border-radius: 9px; overflow: hidden; }
.uchart__b { display: block; height: 100%; background: #8fb3c9; border-radius: 9px; }
.uchart li.is-us .uchart__b { background: var(--ember); }
.uchart li.is-us { font-weight: 700; color: var(--ink); }
.uchart li b { text-align: right; color: var(--ink); }
.uchart__src { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.swatch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 1.2em 0 .6em; padding: 0; }
.swatch li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--text); }
.swatch span { display: block; height: 64px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); margin-bottom: 8px; }
.swatch b { display: block; font-size: .92rem; color: var(--ink); }
.swatch small { color: var(--muted); font-size: .84rem; }
.swatch__note { font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .uchart li { grid-template-columns: minmax(0, 1fr) 44px; } .uchart__t { grid-column: 1 / -1; grid-row: 2; } .swatch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* .phero hides its photo under 960px because a phone has better things to do with 300 pixels */
.phero { background: var(--night); color: #d2e3ec; padding: 26px 0 48px; }
.phero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); max-width: 18em; }
.phero__lede { font-size: 1.15rem; color: #c7dbe6; max-width: 44em; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.phero__pic { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.phero__pic img { width: 100%; height: 100%; object-fit: cover; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .92rem; color: #b5cddb; }
.phero__meta b { color: #fff; }
.phero .btn { margin-top: 10px; }
.crumbs { margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: #b5cddb; }
.crumbs li + li::before { content: "/"; color: #6f93a6; }
.crumbs a { color: #d7e6ef; }

/* .doc sidebar is sticky at 100px, it follows you down the page like a keen surveyor */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { max-width: 740px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.tbl { margin: 1.4em 0 1.8em; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px rgba(1, 46, 72, .05), 0 12px 28px -18px rgba(1, 46, 72, .25); scrollbar-width: thin; }
.tbl table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: .96rem; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; vertical-align: top; color: var(--text); border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--night); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; border-bottom: 3px solid var(--ember); }
.tbl tbody tr:nth-child(even) td { background: #f6faf7; }
.tbl tbody tr:hover td { background: var(--oat); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }
.tbl td a { color: var(--ink); font-weight: 700; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.tbl td a:hover { color: var(--ember-d); }
.tbl td b, .tbl td strong { color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 14px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.answer { background: var(--paper); color: var(--text); border: 2px solid var(--night); border-radius: 14px; padding: 18px 20px; margin: 0 0 1.6em; }
.answer b:first-child { display: block; font: 800 .95rem/1.2 var(--display); color: var(--ember-d); margin-bottom: 6px; }
.answer p:last-child { margin-bottom: 0; }
.note { background: #eaf8ec; color: var(--ink); border: 1px solid #b5e3bc; border-radius: 12px; padding: 14px 18px; margin: 1.4em 0; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--muted); margin: 0 0 1.6em; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.byline b { color: var(--ink); }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.card-q { background: var(--night); color: #d2e3ec; border-radius: var(--r-lg); padding: 22px; }
.card-q h2, .card-q .card-q__h { font: 800 1.35rem/1.15 var(--display); color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.card-q p { font-size: .95rem; }
.card-q .qs__opts { grid-template-columns: 1fr; gap: 8px; }
.card-q .qs__opt { flex-direction: row; justify-content: flex-start; min-height: 52px; padding: 0 14px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.card-q .qs__opt:hover { background: rgba(94, 217, 95, .16); color: #fff; }
.card-q .qs__opt .ico { width: 22px; height: 22px; color: var(--ember); }
.card-links { background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.card-links p { font-weight: 800; font-family: var(--display); color: var(--ink); margin-bottom: 8px; }
.card-links ul { list-style: none; margin: 0; padding: 0; }
.card-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.card-links li:last-child a { border-bottom: 0; }

.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gcard { display: flex; flex-direction: column; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; }
.gcard:hover { border-color: var(--night); color: var(--text); }
.gcard img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gcard__b { padding: 16px 18px 20px; }
.gcard h3 { font-size: 1.15rem; margin-bottom: 6px; }
.gcard small { color: var(--muted); }

.clim { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 1.2em 0 1.6em; }
.clim div { background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.clim b { display: block; font: 800 1.7rem/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.clim span { font-size: .86rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }

.shape { width: 44px; height: 32px; }
.shape path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }

/* .qf__bar grows with every answer. Six steps, zero spinners pretending to think */
.qf-wrap { background: var(--night); padding: 28px 0 72px; min-height: calc(100vh - 116px); }
.qf { max-width: 720px; margin: 0 auto; background: var(--paper); color: var(--text); border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); overflow: hidden; }
.qf__top { position: relative; padding: 20px 24px 0; }
.qf__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.qf__close:hover { background: var(--night); color: #fff; border-color: var(--night); }
.qf__close .ico { width: 20px; height: 20px; }
.qf__bar { margin-right: 110px; }
.qf__bar { height: 8px; background: var(--oat); border-radius: 4px; overflow: hidden; }
.qf__bar i { display: block; height: 100%; width: 10%; background: var(--ember); border-radius: 4px; transition: width .3s; }
.qf__count { display: block; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.qf form { padding: 12px 24px 26px; }
.qf__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf__step[hidden] { display: none; }
.qf__step legend, .qf__h { font: 800 clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem)/1.15 var(--display); color: var(--ink); letter-spacing: -.02em; margin: 0 0 6px; padding: 0; }
.qf__hint { color: var(--muted); margin: 0 0 18px; }
.qf__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.qf__opt { position: relative; }
.qf__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qf__opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 10px; border: 2px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); font-weight: 700; text-align: center; line-height: 1.2; transition: border-color .15s, background .15s; }
.qf__opt span small { font-weight: 500; color: var(--muted); font-size: .84rem; }
.qf__opt:hover span { border-color: var(--ember); }
.qf__opt input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.qf__opt input:checked + span small { color: #c7dbe6; }
.qf__opt input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.qf__opt .shape { width: 52px; height: 38px; color: var(--ember-d); }
.qf__opt input:checked + span .shape { color: var(--ember); }
.qf__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf__fields .field--full { grid-column: 1 / -1; }
.qf__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 16px 0 0; }
.qf__consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--night); }
.qf__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.qf__back { background: none; border: 0; color: var(--ink); font: 600 1rem var(--body); text-decoration: underline; cursor: pointer; min-height: 48px; padding: 0 6px; }

.qf__err { color: #a12a0b; background: #fff0ea; border: 1px solid #f3b9a4; border-radius: 10px; padding: 10px 14px; margin: 14px 0 0; font-weight: 600; }
.qf__err[hidden] { display: none; }
.qf__guide { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 14px 16px; background: #eaf8ec; color: var(--ink); border: 1px solid #b5e3bc; border-radius: 12px; }
.qf__guide[hidden] { display: none; }
.qf__guide b { font: 800 1.35rem/1.1 var(--display); }
.qf__guide .ico { width: 30px; height: 30px; color: var(--ember-d); }
.qf__side { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 24px; background: var(--cream); border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.qf__side span { display: inline-flex; align-items: center; gap: 6px; }
.qf__side .ico { color: var(--moss); width: 1em; height: 1em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; max-width: 640px; margin: 0 auto; }
.done__ref { display: inline-block; font: 800 1.1rem var(--display); background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 10px; }
.done ol { text-align: left; }

/* .ty is the thank-you page: the tick draws itself once, then everything else settles in around it */
.ty { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 0%, #0b4a6e, rgba(11, 74, 110, 0) 65%), var(--night); color: #d2e3ec; padding: 56px 0 64px; }
.ty__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.ty__tick { width: 92px; height: 92px; margin-bottom: 18px; }
.ty__ring { fill: rgba(94, 217, 95, .12); stroke: var(--ember); stroke-width: 4; stroke-dasharray: 277; stroke-dashoffset: 277; animation: tyDraw .9s ease-out forwards; }
.ty__check { fill: none; stroke: var(--ember); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: tyDraw .45s ease-out .75s forwards; }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
.ty h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); margin-bottom: .4em; }
.ty h1 span { color: var(--ember); }
.ty__lede { font-size: 1.18rem; color: #c7dbe6; max-width: 34em; }
.ty__lede b { color: #fff; }
.ty__ref { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 0; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #c7dbe6; }
.ty__ref b { padding: 6px 12px; border-radius: 999px; background: var(--ember); color: var(--night); font-family: var(--display); letter-spacing: .02em; }
.ty__card { background: var(--paper); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); animation: tyUp .6s ease-out .3s both; }
.ty__card.is-empty dl { display: none; }
.ty__card-h { font: 800 1.25rem/1.2 var(--display); color: var(--ink); margin: 0 0 12px; }
.ty__card dl { margin: 0; }
.ty__card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ty__card dt { color: var(--muted); }
.ty__card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.ty__price { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--night); color: #c7dbe6; }
.ty__price span { display: block; font-size: .88rem; }
.ty__price b { display: block; font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1.1 var(--display); color: #fff; margin: 4px 0; letter-spacing: -.02em; }
.ty__price small { color: #9dbccb; font-size: .82rem; }
@keyframes tyUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ty-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.ty-steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ty-steps li:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -15px; width: 16px; border-top: 2px dashed var(--ember); }
.ty-steps__n { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--oat); color: var(--ink); font: 800 1rem var(--display); }
.ty-steps li.is-done { background: var(--night); border-color: var(--night); color: #c7dbe6; }
.ty-steps li.is-done .ty-steps__n { background: var(--ember); color: var(--night); }
.ty-steps li.is-done b { color: #fff; }
.ty-steps li.is-done small { color: var(--ember); }
.ty-steps b { display: block; font: 800 1.08rem/1.25 var(--display); color: var(--ink); margin-bottom: 4px; }
.ty-steps p { margin: 0 0 8px; font-size: .94rem; }
.ty-steps small { font-weight: 700; color: var(--ember-d); font-size: .84rem; }
.ty-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ty-pics figure { margin: 0; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.ty-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ty-pics figcaption { padding: 12px 14px; font-size: .9rem; color: #c7dbe6; }
.ty-ready { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ty-ready li { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--cream); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ty-ready .ico { width: 34px; height: 34px; color: var(--ember-d); }
.ty-ready b { display: block; font: 800 1.08rem/1.2 var(--display); color: var(--ink); margin-bottom: 4px; }
.ty-ready p { margin: 0; font-size: .94rem; }
.ty-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
@media (max-width: 960px) {
  .ty__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ty-steps { grid-template-columns: minmax(0, 1fr); }
  .ty-steps li { flex-direction: row; align-items: flex-start; }
  .ty-steps li:not(:last-child)::after { top: auto; bottom: -15px; right: auto; left: 36px; width: 0; height: 16px; border-top: 0; border-left: 2px dashed var(--ember); }
  .ty-steps__n { flex: none; }
  .ty-ready { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ty { padding: 32px 0 40px; }
  .ty__tick { width: 72px; height: 72px; }
  .ty__lede { font-size: 1.04rem; }
  .ty-pics { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ty-pics figure { scroll-snap-align: start; }
  .ty-ready { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ty__ring, .ty__check { animation: none; stroke-dashoffset: 0; } .ty__card { animation: none; } }

/* .foot__ridge: two linear gradients drawing a zigzag roofline, because an SVG felt like showing off */
.foot { position: relative; background: var(--night); color: #b5cddb; padding: 64px 0 24px; font-size: .95rem; }
.foot__ridge { position: absolute; top: -1px; left: 0; right: 0; height: 14px; background: linear-gradient(135deg, var(--cream) 50%, transparent 50%) 0 0 / 28px 14px, linear-gradient(225deg, var(--cream) 50%, transparent 50%) 0 0 / 28px 14px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__brand p { margin: 16px 0; }
.foot address { font-style: normal; line-height: 1.7; }
.foot a { color: #e6f0f5; text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__h { font: 800 1rem var(--display); color: #fff; margin-bottom: 12px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li a { display: inline-flex; align-items: center; min-height: 34px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.foot__legal p { margin: 0; }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 32px; }

/* .dock waits until the hero scrolls away before turning up, fashionably late but useful */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(1, 46, 72, .96); backdrop-filter: blur(8px); }
.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.dock__call { flex: 0 0 110px !important; border: 2px solid rgba(255, 255, 255, .4); color: #fff; }
.dock__quote { background: var(--ember); color: var(--night); }

.linklist { columns: 3 220px; column-gap: 32px; }
.linklist li { break-inside: avoid; margin-bottom: 6px; }
.legal { max-width: 780px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.pill-row a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.pill-row a:hover { border-color: var(--night); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split__pic { border-radius: 18px; overflow: hidden; }
.split__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.facts .ico { width: 34px; height: 34px; color: var(--ember-d); margin-bottom: 10px; }
.facts b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.12rem; margin-bottom: 4px; }
.facts p { margin: 0; font-size: .95rem; }

/* Breakpoints: 1100 hides the nav in the burger, 960 stacks the grids, 640 is where thumbs take over */
@media (max-width: 1100px) {
  .nav, .topbar__note { display: none; }
  .mast__call, .burger { display: grid; }
  .mast__cta { margin-left: auto; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .topbar__rate { margin-left: 0; }
}
@media (max-width: 960px) {
  .hero__in, .phero__grid, .xr, .calc, .split, .doc { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 28px; padding: 32px 0 60px; }
  .hshot { margin: 0 auto; }
  .side { position: static; }
  .sec__head { grid-template-columns: minmax(0, 1fr); }
  .opts, .revs, .guides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .walk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .walk li::after { display: none; }
  .areas, .clim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .cta__in { grid-template-columns: minmax(0, 1fr); }
  .phero__pic { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .mast__in { min-height: 64px; gap: 10px; }
  .mast__cta .btn { display: none; }
  .logo__word b { font-size: 1.3rem; }
  .logo__mark { width: 40px; height: 40px; }
  .dock:not([hidden]) { display: flex; }
  body { padding-bottom: 72px; }
  .hero h1 { font-size: 2.15rem; }
  .hero__lede { font-size: 1.05rem; }
  .qs { padding: 16px; margin-top: 20px; }
  .qs__opts { gap: 8px; }
  .qs__opt { min-height: 84px; font-size: .92rem; }
  .rs__cap { grid-template-columns: minmax(0, 1fr); }
  .hshot__before { left: -6px; bottom: -18px; width: 38%; }
  .hshot__card { padding: 9px 12px; font-size: .78rem; max-width: 150px; }
  .hshot__card b { font-size: 1.1rem; }
  .hshot__card--a { right: -4px; top: 12px; }
  .hshot__card--b { right: 8px; bottom: -18px; }
  .rs__stat b { font-size: 1.35rem; }
  .rs__tag { font-size: .76rem; top: 10px; padding: 5px 9px; }
  .rs__tag--old { left: 10px; }
  .rs__tag--new { right: 10px; }
  .opts, .revs, .guides, .walk, .gal { grid-template-columns: minmax(0, 1fr); }
  .gal { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .gal figure { scroll-snap-align: start; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .calc__dims, .qf__fields { grid-template-columns: minmax(0, 1fr); }
  .qf-wrap { padding: 12px 0 40px; }
  .qf form { padding: 10px 16px 20px; }
  .qf__top { padding: 16px 16px 0; }
  .qf__opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qf__side { padding: 14px 16px; }
  .bar { grid-template-columns: 78px 1fr 64px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .phero { padding-bottom: 36px; }
  .clim b { font-size: 1.4rem; }
  .ticker__track li { font-size: .98rem; padding: 12px 14px; }
}
/* Phone swipe rows: long stacks of cards turn sideways here so the page stops scrolling forever */
@media (max-width: 640px) {
  .cmp { display: none; }
  .cmpm { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .cmpm__c { scroll-snap-align: start; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
  .cmpm__c.is-us { background: var(--night); color: #c7dbe6; border-color: var(--night); }
  .cmpm__h { font: 800 1.15rem/1.2 var(--display); color: var(--ink); margin: 0 0 10px; }
  .cmpm__c.is-us .cmpm__h { color: var(--ember); }
  .cmpm dl { margin: 0; }
  .cmpm dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
  .cmpm__c.is-us dl div { border-color: rgba(255, 255, 255, .15); }
  .cmpm dt { color: var(--muted); }
  .cmpm__c.is-us dt { color: #9dbccb; }
  .cmpm dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
  .cmpm__c.is-us dd { color: #fff; }
  .opts, .bens, .revs, .walk, .guides, .swap__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .opts > *, .bens > *, .revs > *, .walk > *, .guides > *, .swap__list > * { scroll-snap-align: start; }
  .walk, .swap__list { grid-auto-columns: 78%; }
  .faqside { display: none; }
  .calc .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .calc .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .calc__dims { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc__form { gap: 16px; }
  .calc__out { gap: 12px; }
  .calc__note { display: none; }
  .opts::-webkit-scrollbar, .bens::-webkit-scrollbar, .revs::-webkit-scrollbar, .cmpm::-webkit-scrollbar, .walk::-webkit-scrollbar, .guides::-webkit-scrollbar, .swap__list::-webkit-scrollbar { display: none; }
  .wide .opts { grid-auto-columns: 86%; }
  .areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .area { padding: 12px; }
  .area b { font-size: 1rem; }
  .area span { font-size: .8rem; }
  .walk { gap: 10px; }
  .walk li { padding: 16px; }
  .swap__list li { padding: 12px 14px; }
}
@media print { .mast, .topbar, .dock, .foot, .cta, .side, .ck { display: none !important; } }

.ck, .ckp { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f1f1f; letter-spacing: 0; }
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid #dcdcdc; box-shadow: 0 -8px 30px rgba(0, 0, 0, .14); }
.ck__in { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; }
.ck__text .ck__title { margin: 0 0 6px; font-size: 1.18rem; font-weight: 700; color: #111; line-height: 1.3; }
.ck__text p { margin: 0; font-size: .92rem; line-height: 1.55; color: #3c3c3c; }
.ck__text a { color: #111; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ck__btns { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px; }
.ck__btns .ck__btn--link { grid-column: 1 / -1; }
.ck__btn { min-height: 46px; padding: 0 20px; border-radius: 4px; font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ck__btn--solid { background: #111; color: #fff; border: 2px solid #111; }
.ck__btn--solid:hover { background: #333; border-color: #333; }
.ck__btn--outline { background: #fff; color: #111; border: 2px solid #111; }
.ck__btn--outline:hover { background: #f2f2f2; }
.ck__btn--link { background: none; border: 0; color: #111; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.ck__btn:focus-visible, .ckp__close:focus-visible, .ckp__sw input:focus-visible + i { outline: 3px solid #2563eb; outline-offset: 2px; }
.ckp { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, .55); display: grid; place-items: center; padding: 16px; }
.ckp[hidden] { display: none; }
.ckp__box { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.ckp__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #e6e6e6; }
.ckp__title { margin: 0; font-size: 1.15rem; font-weight: 700; color: #111; }
.ckp__close { width: 36px; height: 36px; border: 0; background: #f2f2f2; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #111; }
.ckp__body { padding: 18px 22px; overflow: auto; font-size: .92rem; line-height: 1.55; color: #3c3c3c; }
.ckp__body > p { margin: 0 0 14px; }
.ckp__cat { border: 1px solid #e6e6e6; border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; }
.ckp__cat p { margin: 6px 0 0; font-size: .87rem; color: #555; }
.ckp__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #111; cursor: pointer; }
.ckp__on { font-size: .82rem; font-weight: 700; color: #1a7f37; }
.ckp__sw { position: relative; width: 46px; height: 26px; flex: none; }
.ckp__sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ckp__sw i { position: absolute; inset: 0; border-radius: 26px; background: #c7c7c7; transition: background .15s; pointer-events: none; }
.ckp__sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.ckp__sw input:checked + i { background: #111; }
.ckp__sw input:checked + i::after { transform: translateX(20px); }
.ckp__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 22px 18px; border-top: 1px solid #e6e6e6; }
.ckp__foot .ck__btn { padding: 0 8px; font-size: .9rem; }
html.ck-lock { overflow: hidden; }
@media (max-width: 760px) {
  .ck__in { grid-template-columns: minmax(0, 1fr); padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); gap: 14px; }
  .ck__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ckp__foot { grid-template-columns: minmax(0, 1fr); }
}

.ck__short { display: none; }
@media (max-width: 760px) {
  .ck__long { display: none; }
  .ck__short { display: block; }
  .ck__in { gap: 10px; padding-top: 14px; }
  .ck__text .ck__title { font-size: 1.05rem; margin-bottom: 2px; }
  .ck__btns { gap: 8px; }
  .ck__btn { min-height: 44px; }
  .ck__btns .ck__btn--link { min-height: 44px; }
}
