:root {
  color-scheme: dark;
  --navy: #08091f;
  --navy-soft: #11132e;
  --card: #151731;
  --red: #e9495a;
  --silver: #c9c8ce;
  --white: #f7f6f5;
  --muted: #b2b2c0;
  --line: rgba(255,255,255,.14);
  --content: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 82% 8%,rgba(65,63,115,.2),transparent 38%),var(--navy);
  color: var(--white);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px),var(--content)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8,9,31,.94); backdrop-filter: blur(14px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; width: 78px; height: 78px; object-fit: contain; }
.footer-logo { display: block; width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-family: Georgia,"Times New Roman",serif; letter-spacing: .16em; font-size: 1.2rem; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.nav a:hover,.nav a[aria-current="page"] { color: var(--white); }
.nav .nav-cta { padding: 8px 15px; border: 1px solid rgba(201,200,206,.5); border-radius: 999px; color: var(--white); }
.menu-toggle { display: none; }
.eyebrow { margin: 0 0 12px; color: var(--silver); font-size: .77rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 26px; height: 2px; margin: 0 10px 4px 0; background: var(--red); content: ""; }
h1,h2,h3,p { overflow-wrap: break-word; }
h1 { margin: 16px 0 20px; font-size: clamp(2.8rem,6.5vw,5.4rem); letter-spacing: -.06em; line-height: 1; }
h1 span { color: var(--red); }
h2 { margin: 10px 0 14px; font-size: clamp(1.9rem,3.8vw,3rem); letter-spacing: -.045em; line-height: 1.1; }
h3 { line-height: 1.25; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.hero { min-height: 525px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 35px; padding-block: 55px; }
.hero-copy { max-width: 660px; }
.hero-copy .muted { max-width: 590px; }
.hero-art { display: grid; place-items: center; min-height: 320px; }
.hero-art svg { width: min(106%,570px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.24)); }
.button {
  min-height: 47px; display: inline-flex; justify-content: center; align-items: center;
  padding: 0 19px; border: 1px solid transparent; border-radius: 999px;
  background: var(--red); color: #fff; font: inherit; font-size: .93rem;
  font-weight: 750; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .2s,background .2s;
}
.button:hover { transform: translateY(-2px); background: #f15a69; }
.button-large { min-height: 58px; padding-inline: 27px; font-size: 1.03rem; }
.hero .button { margin-top: 15px; }
.section { padding-block: 70px; border-top: 1px solid var(--line); }
.section-soft { background: rgba(255,255,255,.018); }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.feature-card {
  padding: 23px; border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  text-decoration: none; transition: transform .2s,border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(233,73,90,.6); }
.feature-card h3 { margin: 10px 0 5px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-icon { color: var(--red); font-size: 1.8rem; }
.page-hero { padding: 65px 0 42px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem,5.7vw,4.6rem); }
.page-hero .lead { margin-bottom: 0; }
.video-frame {
  position: relative; overflow: hidden; min-height: 220px;
  aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: 18px;
  background: #11132e;
}
.video-fallback,.installation-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-fallback { display: grid; place-items: center; background: linear-gradient(130deg,#171a3b,#10132d); }
.video-fallback svg { width: 100%; height: 100%; object-fit: cover; }
.video-badge { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(8,9,31,.82); font-size: .78rem; }
.installation-video { display: none; object-fit: cover; }
.video-frame.has-video .installation-video { display: block; }
.video-frame.has-video .video-fallback { display: none; }
.section-cta { background: linear-gradient(110deg,rgba(233,73,90,.1),transparent); }
.split-callout { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.split-callout h2 { max-width: 620px; }
.about-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 35px; align-items: stretch; }
.about-panel,.experience-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--navy-soft); }
.about-panel .button { margin-top: 12px; }
.experience-card { position: relative; min-height: 290px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: radial-gradient(circle at 78% 22%,rgba(233,73,90,.24),transparent 38%),var(--navy-soft); }
.experience-number { font-size: clamp(6rem,13vw,10rem); font-weight: 800; letter-spacing: -.08em; line-height: .95; color: var(--white); }
.experience-label { max-width: 240px; color: var(--muted); font-size: 1.1rem; }
.experience-sun { position: absolute; top: 17px; right: 23px; color: var(--red); font-size: 4rem; }
.product-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.product-shortcuts a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--navy-soft); color: var(--white); font-size: .9rem; font-weight: 700; text-decoration: none; transition: border-color .2s,transform .2s; }
.product-shortcuts a:hover { transform: translateY(-1px); border-color: var(--red); }
.product-shortcuts span { color: var(--muted); font-size: .76rem; font-weight: 500; }
.product-group { margin-bottom: 54px; scroll-margin-top: 100px; }
.product-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.product-group-heading h2 { margin: 0; font-size: 1.8rem; }
.product-group-heading p { margin: 0; color: var(--muted); font-size: .87rem; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--card); transition: transform .2s,border-color .2s; }
.product-card:hover { transform: translateY(-2px); }
.product-card.is-selected { border-color: var(--red); box-shadow: 0 0 0 1px rgba(233,73,90,.25); }
.product-art { height: 148px; display: grid; place-items: center; background: linear-gradient(135deg,#20264b,#11132e); }
.product-art svg { width: 150px; height: 120px; }
.product-art.product-photo-art { height: 200px; min-height: 200px; padding: 9px; overflow: hidden; background: #fff; }
.product-art .product-photo { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-image-fallback { width: 100%; height: 100%; align-content: center; justify-items: center; padding: 10px; color: #252947; text-align: center; font-size: .8rem; }
.product-image-fallback:not([hidden]) { display: grid; }
.product-image-fallback[hidden] { display: none; }
.product-image-fallback svg { width: 140px; height: 110px; }
.product-details { margin-top: 12px; }
.product-details summary { cursor: pointer; color: #ffabb3; font-size: .86rem; font-weight: 700; list-style: none; }
.product-details summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; flex: 0 0 auto; font-size: 1rem; }
.product-details[open] summary::after { content: "−"; }
.product-details .pros-cons { margin-top: 10px; }
.product-body { padding: 16px; }
.product-select { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.product-select input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.product-select strong { display: block; font-size: 1.04rem; }
.product-select small { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }
.product-description { margin: 12px 0; color: var(--muted); font-size: .87rem; }
.product-addon { margin: 14px 0; padding: 13px; border: 1px solid rgba(233,73,90,.42); border-radius: 11px; background: rgba(233,73,90,.07); }
.product-addon-choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.product-addon-choice input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.product-addon-choice strong,.product-addon-choice small { display: block; }
.product-addon-choice strong { color: var(--white); font-size: .9rem; }
.product-addon-choice small,.product-addon p { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.product-addon-choice small { margin-top: 4px; }
.product-addon p { margin: 9px 0 0 29px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: .79rem; }
.pros-cons strong { display: block; margin-bottom: 4px; color: var(--silver); }
.pros-cons ul { margin: 0; padding-left: 17px; color: var(--muted); }
.product-link { display: inline-block; margin-top: 12px; color: #ffabb3; font-size: .87rem; font-weight: 700; text-underline-offset: 3px; }
.planned-label { display: inline-block; margin: 4px 0 0 28px; padding: 3px 8px; border: 1px solid rgba(233,73,90,.5); border-radius: 999px; color: #ffabb3; font-size: .72rem; font-weight: 700; }
.notice { margin: 12px 0 25px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .87rem; }
.selection-bar { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,19,46,.96); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.quote-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.form-card,.quote-aside { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--navy-soft); }
.form-title { margin-top: 0; font-size: 1.7rem; }
.quote-step-label { margin: 28px 0 4px; }
.quote-step-label + .form-title { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.room-list { display: grid; gap: 12px; margin: 14px 0 20px; }
.room-entry { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.room-entry legend { padding: 0 7px; color: var(--silver); font-weight: 700; }
.room-entry .form-grid { gap: 10px; margin-top: 10px; }
.room-entry .field { margin-bottom: 8px; }
.text-button { padding: 2px 0; border: 0; background: none; color: #ffabb3; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.grant-check { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.grant-check summary { color: var(--silver); font-weight: 700; cursor: pointer; }
.grant-check[open] summary { margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-full { grid-column: 1/-1; }
.field label { color: var(--silver); font-size: .87rem; font-weight: 650; }
.field input,.field select,.field textarea {
  width: 100%; min-height: 45px; padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.17); border-radius: 9px;
  outline: none; background: #090b22; color: var(--white); font: inherit; font-size: .93rem;
}
.field input[type="file"] { min-height: auto; padding: 9px; background: #10132d; cursor: pointer; }
.file-feedback { margin: -2px 0 0; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.photo-email-note { margin: -5px 0 15px; color: var(--muted); font-size: .82rem; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(233,73,90,.14); }
.form-hint,.form-note { color: var(--muted); font-size: .8rem; }
.form-hint { margin: 6px 0 0; }
.product-picker { border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: #090b22; }
.product-picker summary { padding: 11px 13px; cursor: pointer; color: var(--white); }
.picker-content { max-height: 280px; overflow: auto; padding: 3px 13px 13px; }
.picker-group-title { margin: 13px 0 5px; color: var(--silver); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.picker-option { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; color: var(--muted); font-size: .88rem; cursor: pointer; }
.picker-option input { width: 16px; min-height: 16px; margin: 3px 0 0; accent-color: var(--red); }
.picker-option-addon { margin: 0 0 8px 24px; padding: 8px 10px; border-left: 2px solid var(--red); background: rgba(233,73,90,.06); }
.picker-option-addon .picker-option { min-height: 44px; }
.picker-option-addon .picker-option span { display: block; }
.picker-option-addon strong,.picker-option-addon small { display: block; }
.picker-option-addon strong { color: var(--silver); }
.picker-option-addon small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.package-banner { display: flex; gap: 13px; margin-top: 18px; padding: 15px; border: 1px solid rgba(233,73,90,.55); border-radius: 13px; background: linear-gradient(110deg,rgba(233,73,90,.15),rgba(255,255,255,.02)); }
.package-banner-icon { color: #ffabb3; font-size: 1.4rem; }
.package-banner strong { display: block; }
.package-banner p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; color: var(--muted); font-size: .82rem; }
.consent input { margin-top: 4px; accent-color: var(--red); }
.form-status { min-height: 22px; color: var(--silver); font-size: .86rem; }
.selected-summary { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.selected-summary h3 { margin: 0 0 8px; font-size: 1rem; }
.selected-summary ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: .88rem; }
.selected-summary li+li { margin-top: 4px; }
.text-link { color: #ffabb3; font-weight: 700; text-underline-offset: 4px; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.74); }
.recommendation-modal { position: relative; width: min(100%,540px); max-height: min(90vh,760px); overflow: auto; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: #11132e; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.modal-close { position: absolute; top: 11px; right: 14px; z-index: 1; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #090b22; color: white; font-size: 1.5rem; cursor: pointer; }
.modal-art { height: 150px; display: grid; place-items: center; overflow: hidden; margin: -22px -22px 20px; background: linear-gradient(130deg,#29345c,#151731); }
.modal-art svg { height: 145px; width: 210px; }
.aircon-offer-art { position: relative; display: grid; width: min(100%,390px); height: 150px; place-items: center; }
.aircon-offer-art > svg { transform: translateX(-23px); filter: drop-shadow(0 8px 10px rgba(0,0,0,.22)); }
.discount-burst { position: absolute; top: 14px; right: 42px; display: grid; width: 82px; height: 82px; align-content: center; justify-items: center; border: 3px solid #ffd56c; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.45rem; font-weight: 850; line-height: 1; box-shadow: 0 0 0 6px rgba(233,73,90,.2),0 7px 20px rgba(0,0,0,.3); animation: offer-bob 2.6s ease-in-out infinite; }
.discount-burst small { margin-top: 3px; font-size: .56rem; font-weight: 750; text-align: center; line-height: 1.05; text-transform: uppercase; }
.offer-spark { position: absolute; color: #ffd56c; font-size: 1.6rem; font-style: normal; animation: offer-twinkle 1.7s ease-in-out infinite alternate; }
.offer-spark-one { top: 18px; left: 49px; }
.offer-spark-two { right: 136px; bottom: 17px; color: #83d9ef; animation-delay: .5s; }
@keyframes offer-bob { 50% { transform: translateY(-5px) rotate(4deg); } }
@keyframes offer-twinkle { to { opacity: .45; transform: scale(.76) rotate(18deg); } }
.recommendation-modal h2 { font-size: 1.9rem; }
.recommendation-modal > p:not(.eyebrow) { color: var(--muted); }
.modal-package-note { padding: 12px; border: 1px solid rgba(233,73,90,.38); border-radius: 10px; background: rgba(233,73,90,.08); font-size: .84rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.modal-actions .modal-add-aircon { flex-basis: 100%; }
.modal-actions .modal-browse { align-self: center; margin-right: auto; }
.button-secondary { border-color: rgba(255,255,255,.3); background: transparent; }
.button-secondary:hover { background: rgba(255,255,255,.08); }
.modal-fineprint { margin-bottom: 0; }
.site-footer { padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.qr-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--navy-soft); }
.qr-card h2 { margin: 0 0 8px; }
.qr-card p:not(.eyebrow) { margin: 0 0 10px; }
.qr-code-link { display: block; flex: 0 0 170px; padding: 9px; border-radius: 12px; background: #fff; }
.home-qr-code { display: block; width: 100%; height: auto; }
.layout-page-grid { display: grid; grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr); gap: 28px; align-items: start; }
.layout-controls,.layout-preview { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--navy-soft); }
.aircon-illustration { display: grid; min-height: 175px; margin: -4px 0 22px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg,#1e2548,#10132d); }
.aircon-illustration svg { width: min(100%,280px); height: 160px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); }
.layout-controls h2,.layout-preview h2 { margin-top: 0; font-size: 1.65rem; }
.layout-controls .field { margin-bottom: 21px; }
.layout-controls input[type="file"] { width: 100%; min-height: auto; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: #090b22; color: var(--muted); }
#roof-photo-field[hidden] { display: none; }
.obstruction-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.obstruction-buttons .button { flex: 1; }
.obstruction-buttons .button:disabled { opacity: .45; cursor: not-allowed; }
.step-label { color: var(--white); font-size: .9rem; font-weight: 750; }
.layout-controls input[type="range"] { width: 100%; min-height: 24px; accent-color: var(--red); cursor: pointer; }
.layout-controls output { display: inline-grid; min-width: 27px; height: 27px; place-items: center; margin-left: 5px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 750; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.roof-type-choice { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; border: 0; }
.roof-type-choice legend { margin-bottom: 9px; color: var(--silver); font-size: .87rem; font-weight: 650; }
.roof-type-choice label { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.roof-type-choice input { margin-top: 4px; accent-color: var(--red); }
.roof-type-choice strong,.roof-type-choice small { display: block; }
.roof-type-choice small { color: var(--muted); font-size: .78rem; }
.layout-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.layout-actions .button { flex: 1; }
.button-secondary { border-color: rgba(255,255,255,.3); background: transparent; }
.button-secondary:hover { background: rgba(255,255,255,.08); }
.layout-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.layout-preview-heading h2 { margin-bottom: 4px; }
.layout-preview-heading .eyebrow { margin-bottom: 4px; }
.preview-heading-actions { display: flex; align-items: center; gap: 8px; }
.undo-layout { min-height: 40px; padding-inline: 13px; }
.undo-layout:disabled { opacity: .45; cursor: not-allowed; }
.preview-pill { flex: 0 0 auto; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--silver); font-size: .75rem; }
.layout-instructions { margin: 8px 0 14px; color: var(--muted); font-size: .84rem; }
.roof-measurements { margin: 0 0 15px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,9,31,.28); }
.roof-measurements > .step-label { margin: 0 0 5px; }
.roof-measurements > .form-hint { margin: 0 0 12px; }
.roof-measurement-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; align-items: end; }
.roof-measurement-fields .field { margin: 0; }
.roof-measurement-fields input { width: 100%; }
.roof-fit-result { grid-column: 1/-1; margin: 9px 0 0; color: var(--white); font-size: .86rem; font-weight: 650; }
.layout-page-grid #solar-savings-calculator-slot { grid-column: 1/-1; }
.layout-page-grid #solar-savings-calculator-slot:empty { display: none; }
.layout-canvas-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #dce8f0; }
#layout-canvas { display: block; width: 100%; height: auto; touch-action: manipulation; cursor: pointer; }
#layout-canvas:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.panel-marking-tools { display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,1.2fr); align-items: end; gap: 12px; margin: 0 0 15px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,9,31,.28); }
.panel-marking-tools .field { margin: 0; }
.panel-marking-tools select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: #090b22; color: var(--white); font: inherit; font-size: .87rem; }
.panel-marking-tools .form-hint { margin: 0; line-height: 1.45; }
.layout-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 2px; color: var(--muted); font-size: .78rem; }
.layout-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 15px; height: 11px; border: 1px solid #e8eff5; border-radius: 2px; background: #254f69; }
.legend-swatch-blocked { background: #a63845; }
.layout-disclaimer { margin: 16px 0; }
.layout-preview > .button { width: 100%; }
.layout-quote-summary { display: grid; gap: 2px; padding: 11px 13px; border: 1px solid rgba(233,73,90,.45); border-radius: 10px; background: rgba(233,73,90,.08); color: var(--white); font-size: .86rem; }
.layout-quote-summary[hidden] { display: none; }
.savings-calculator { margin-top: 36px; padding: 24px; border: 1px solid rgba(233,73,90,.36); border-radius: 18px; background: linear-gradient(145deg,rgba(233,73,90,.07),rgba(255,255,255,.015)),var(--navy-soft); scroll-margin-top: 100px; }
.savings-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.savings-heading h3 { margin: 0; font-size: clamp(1.5rem,2.7vw,2rem); letter-spacing: -.035em; }
.savings-heading .eyebrow { margin-bottom: 4px; }
.savings-intro { max-width: 780px; margin: 9px 0 21px; color: var(--muted); }
.savings-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,.75fr); gap: 18px; align-items: stretch; }
.savings-inputs { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(8,9,31,.38); }
.savings-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.savings-fields .field { min-width: 0; }
.savings-fields .field[hidden] { display: none; }
.savings-fields .form-hint { margin-top: 3px; }
.range-value-row { display: flex; align-items: center; gap: 12px; }
.range-value-row input[type="range"] { width: 100%; min-height: 24px; accent-color: var(--red); cursor: pointer; }
.range-value-row output { display: inline-grid; min-width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 750; }
.savings-result { display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: #090b22; }
.savings-result .eyebrow { margin-bottom: 6px; }
.savings-amount { color: white; font-size: clamp(2.4rem,5vw,3.6rem); letter-spacing: -.06em; line-height: 1.1; }
.savings-caption { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.savings-breakdown { display: grid; gap: 9px; margin: 20px 0 0; }
.savings-breakdown div { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .82rem; }
.savings-breakdown dt { color: var(--muted); }
.savings-breakdown dd { margin: 0; color: var(--white); font-weight: 700; text-align: right; }
.savings-assumptions { margin: auto 0 0; padding-top: 14px; color: var(--silver); font-size: .76rem; }
.savings-method { margin-top: 16px; color: var(--muted); font-size: .83rem; }
.savings-method summary { color: #ffabb3; font-weight: 700; cursor: pointer; }
.savings-method p { max-width: 900px; margin-bottom: 0; }
.savings-sources { margin: 12px 0 0; color: var(--muted); font-size: .76rem; }
.savings-sources a { color: #ffabb3; text-underline-offset: 3px; }

@media(max-width:850px) {
  .hero { grid-template-columns: 1fr .9fr; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quote-layout,.about-layout { grid-template-columns: 1fr; }
  .layout-page-grid { grid-template-columns: 1fr; }
  .savings-layout { grid-template-columns: 1fr; }
  .quote-aside { order: -1; }
}
@media(max-width:650px) {
  .wrap { width: min(calc(100% - 32px),var(--content)); }
  .header-inner { min-height: 82px; }
  .menu-toggle { display: inline-flex; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--white); font: inherit; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); background: #08091f; }
  .nav.is-open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 44px; padding: 11px 8px; }
  .nav .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 5px; padding-block: 37px 44px; }
  .hero-art { min-height: 210px; grid-row: 1; }
  .hero-art svg { width: min(108%,430px); max-width: 430px; }
  h1 { font-size: clamp(2.7rem,13vw,4.2rem); }
  .section { padding-block: 52px; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-callout { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 48px 0 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-group-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .video-frame { aspect-ratio: 4/3; min-height: 180px; }
  .selection-bar { align-items: stretch; flex-direction: column; }
  .selection-bar .button { width: 100%; }
  .form-card,.quote-aside { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field-full { grid-column: auto; }
  .modal-actions { flex-direction: column; }
  .modal-actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .qr-card { align-items: flex-start; flex-direction: column; }
  .qr-code-link { width: 160px; flex-basis: auto; align-self: center; }
  .layout-controls,.layout-preview { padding: 17px; }
  .panel-marking-tools { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .roof-measurement-fields { grid-template-columns: 1fr; gap: 0; }
  .roof-fit-result { grid-column: auto; }
  .preview-heading-actions { align-items: flex-end; flex-direction: column; }
  .layout-actions { flex-direction: column; }
  .layout-actions .button { min-height: 48px; }
  .roof-type-choice label { min-height: 48px; align-items: center; }
  .roof-type-choice input { width: 20px; height: 20px; flex: 0 0 auto; }
  .field input,.field select,.field textarea { font-size: 16px; }
  .product-select input { width: 22px; height: 22px; }
  .picker-option { min-height: 44px; align-items: center; }
  .product-shortcuts a { min-height: 44px; }
  .savings-calculator { padding: 17px; }
  .savings-fields { grid-template-columns: 1fr; }
  .savings-heading { align-items: flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
  .discount-burst,.offer-spark { animation: none !important; }
}




