:root {
  --ink: #102b24;
  --muted: #60716b;
  --green: #145c49;
  --green-dark: #0d4436;
  --green-soft: #e9f3ee;
  --mint: #d8ebe1;
  --yellow: #f2bd49;
  --cream: #fbfaf6;
  --line: #dce5e0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 65, 52, 0.12);
  font-family: Inter, Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 20;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 43, 36, 0.08);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(15px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.04em; }
.brand strong { color: var(--green); }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: var(--green); box-shadow: 0 7px 18px rgba(20, 92, 73, .2); }
.brand-mark svg { width: 22px; fill: #fff; }
.header-assurance { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.header-assurance span { color: #3f9d75; font-size: 9px; }

.view { display: none; }
.view.is-active { display: block; animation: viewIn .4s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

#landing { position: relative; overflow: hidden; }
.hero-grid { max-width: 1180px; margin: 0 auto; min-height: 650px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 60px; padding: 75px 24px 88px; position: relative; z-index: 2; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-orb-one { width: 570px; height: 570px; right: -80px; top: 5px; background: radial-gradient(circle, rgba(216,235,225,.85), rgba(216,235,225,0) 70%); }
.hero-orb-two { width: 420px; height: 420px; left: -250px; top: 130px; border: 1px solid rgba(20,92,73,.09); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; color: var(--green); background: var(--green-soft); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.eyebrow span { color: #d89b1e; }
.hero-copy h1 { margin: 22px 0 20px; max-width: 650px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5vw, 70px); line-height: 1.02; letter-spacing: -.055em; font-weight: 500; }
.hero-copy h1 em { font-style: italic; color: var(--green); }
.hero-lead { max-width: 575px; margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.button { border: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 20px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgba(20,92,73,.2); }
.button-primary:hover { background: var(--green-dark); box-shadow: 0 14px 28px rgba(20,92,73,.26); }
.button-large { padding: 17px 24px; min-width: 220px; }
.button-secondary { background: #fff; color: var(--green); border: 1px solid var(--line); box-shadow: 0 5px 14px rgba(17, 51, 42, .04); }
.hero-reassurance { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 25px; color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-reassurance span { display: flex; align-items: center; gap: 6px; }
.hero-reassurance i { font-style: normal; color: #32865f; }

.hero-visual { min-height: 480px; position: relative; display: grid; place-items: center; }
.diagnostic-card { position: relative; z-index: 2; width: min(440px, 90%); padding: 25px; background: rgba(255,255,255,.94); border: 1px solid rgba(20,92,73,.12); border-radius: 22px; box-shadow: var(--shadow); transform: rotate(1deg); }
.card-topline { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.card-topline i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: #fff; font-style: normal; letter-spacing: 0; }
.home-illustration { margin: 10px 0 0; border-radius: 16px; overflow: hidden; background: linear-gradient(145deg, #f3f8f5, #fdfcf8); }
.home-illustration svg { display: block; width: 100%; }
.meter-label { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; font-size: 12px; color: var(--muted); }
.meter-label strong { color: #a3700f; }
.meter { height: 7px; border-radius: 99px; background: #e8edea; margin-top: 8px; overflow: hidden; }
.meter span { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--green), var(--yellow)); border-radius: inherit; }
.diagnostic-card > p { text-align: center; color: var(--muted); font-size: 11px; margin: 16px 0 0; }
.visual-badge { position: absolute; z-index: 4; width: 165px; padding: 13px 16px; display: grid; grid-template-columns: 34px 1fr; background: #fff; border: 1px solid rgba(20,92,73,.1); border-radius: 13px; box-shadow: 0 13px 32px rgba(20,65,52,.12); }
.visual-badge > span { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #fdf1cf; color: #b47708; }
.visual-badge b { font-size: 12px; }
.visual-badge small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.badge-solar { top: 40px; right: 0; transform: rotate(4deg); }
.badge-heat { left: -13px; bottom: 35px; transform: rotate(-3deg); }
.badge-heat > span { background: #f7e5df; color: #b55a3d; }

.how-it-works { position: relative; z-index: 2; border-top: 1px solid var(--line); background: #fff; padding: 66px 24px 74px; text-align: center; }
.section-kicker { margin: 0 0 9px; color: var(--green); font-weight: 850; font-size: 10px; letter-spacing: .16em; }
.how-it-works h2, .recommendations-header h2 { font-family: Georgia, serif; font-weight: 500; font-size: 31px; margin: 0; letter-spacing: -.03em; }
.steps-row { max-width: 1060px; margin: 43px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: left; }
.steps-row article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; }
.steps-row article:not(:last-child)::after { content: ""; position: absolute; width: 52px; height: 1px; right: -47px; top: 24px; background: repeating-linear-gradient(90deg, #b8c9c0 0 4px, transparent 4px 9px); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 23px; }
.steps-row small { color: #b9c4bf; font-size: 10px; font-weight: 800; }
.steps-row h3 { margin: 5px 0 7px; font-size: 15px; }
.steps-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.diagnostic-view { min-height: calc(100vh - 78px); padding: 42px 20px 80px; background: radial-gradient(circle at 85% 20%, rgba(216,235,225,.7), transparent 30%), #f7f8f5; }
.diagnostic-shell { max-width: 790px; margin: 0 auto; }
.progress-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 12px; }
.back-link { border: 0; background: transparent; justify-self: start; color: var(--muted); font-weight: 650; }
.progress-copy { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.progress-copy span { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.progress-copy b { font-size: 13px; }
.progress-percent { justify-self: end; color: var(--green); font-weight: 800; font-size: 12px; }
.progress-track { height: 4px; border-radius: 99px; background: #dfe6e2; overflow: hidden; margin-bottom: 26px; }
.progress-track span { display: block; height: 100%; width: 33%; border-radius: inherit; background: var(--green); transition: width .35s ease; }
#energy-form { padding: 36px 42px 30px; background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; box-shadow: 0 20px 55px rgba(20,65,52,.08); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: formIn .35s ease; }
@keyframes formIn { from { opacity: 0; transform: translateX(8px); } }
.form-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 31px; }
.heading-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--green-soft); color: var(--green); font-size: 21px; font-weight: 700; }
.form-heading p { color: var(--green); margin: 1px 0 4px; font-size: 10px; letter-spacing: .12em; font-weight: 850; text-transform: uppercase; }
.form-heading h2 { font-family: Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: -.025em; margin: 0 0 6px; }
.form-heading div > span { color: var(--muted); font-size: 12px; }
fieldset { padding: 0; margin: 0 0 24px; border: 0; }
legend, .field > span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 750; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid-2 { grid-template-columns: 1fr 1fr; }
.choice-card { position: relative; padding: 18px; display: grid; grid-template-columns: 40px 1fr; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .18s ease; }
.choice-card:hover { border-color: #90b6a6; background: #fcfdfc; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { border-color: var(--green); background: #f1f8f4; box-shadow: 0 0 0 2px rgba(20,92,73,.06); }
.choice-visual { grid-row: 1 / 3; align-self: center; font-size: 26px; color: var(--green); }
.choice-card strong { font-size: 14px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.choice-card i { display: none; position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; font-style: normal; place-items: center; }
.choice-card:has(input:checked) i { display: grid; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #f1f4f2; border-radius: 11px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 10px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.segmented input:checked + span { color: var(--green); background: #fff; box-shadow: 0 2px 8px rgba(20,65,52,.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 19px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #ccd8d2; border-radius: 10px; outline: none; transition: .18s ease; }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,92,73,.1); }
.field input::placeholder { color: #aab5b0; }
.field > small { display: block; margin-top: 7px; color: #89968f; font-size: 9px; }
.input-unit { position: relative; }
.input-unit input { padding-right: 56px; }
.input-unit b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); }
.input-unit-large input { height: 58px; font-size: 19px; font-weight: 700; }
.input-unit-large b { font-size: 12px; }
.info-note, .privacy-note { display: flex; gap: 12px; padding: 15px; border-radius: 11px; background: #f1f7f4; color: var(--muted); }
.info-note > span, .privacy-note > span { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #d4e8de; color: var(--green); font-size: 11px; font-weight: 800; }
.info-note p, .privacy-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.info-note strong, .privacy-note strong { color: var(--ink); }
.optional-block { border: 1px solid var(--line); border-radius: 13px; padding: 18px 18px 0; margin-top: 9px; }
.optional-title { display: flex; justify-content: space-between; margin-bottom: 17px; }
.optional-title strong { font-size: 12px; }
.optional-title p { color: var(--muted); margin: 3px 0 0; font-size: 10px; }
.optional-title > span { height: max-content; padding: 5px 8px; border-radius: 6px; background: #eff3f1; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.privacy-note { margin-top: 17px; background: #fff9ea; }
.privacy-note > span { background: #fae9b9; color: #946811; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #edf0ee; }
.form-actions .button-primary { margin-left: auto; min-width: 155px; }
.form-error { margin: 15px 0 -10px; color: #b3423d; font-size: 11px; font-weight: 700; }
.is-hidden { visibility: hidden; }

.analysis-view { min-height: calc(100vh - 78px); padding: 90px 20px; background: radial-gradient(circle at center, #edf5f0 0, #f9faf7 55%); }
.analysis-card { max-width: 590px; margin: 0 auto; padding: 55px 35px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.analysis-animation { position: relative; width: 115px; height: 115px; margin: 0 auto 28px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border: 2px solid rgba(20,92,73,.14); border-radius: 50%; }
.ring-one { border-top-color: var(--green); animation: spin 1.3s linear infinite; }
.ring-two { inset: 12px; border-bottom-color: var(--yellow); animation: spinReverse 1.7s linear infinite; }
.analysis-bolt { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--green); color: #fff; font-size: 33px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
.analysis-card > p { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.analysis-card h2 { margin: 8px 0 10px; font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.analysis-card > span { color: var(--muted); font-size: 13px; }
.analysis-progress { height: 5px; margin: 30px 0 22px; overflow: hidden; border-radius: 99px; background: #e6ece8; }
.analysis-progress i { display: block; height: 100%; width: 45%; background: var(--green); border-radius: inherit; animation: loading 1.2s ease-in-out infinite; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
.analysis-checks { display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 10px; }
.analysis-checks span::before { content: "✓"; color: #3f9d75; margin-right: 5px; }

.results-view { padding: 55px 22px 80px; background: #f7f8f5; }
.results-shell { max-width: 1100px; margin: 0 auto; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.results-heading h1 { margin: 5px 0 7px; font-family: Georgia, serif; font-size: 42px; font-weight: 500; letter-spacing: -.04em; }
.results-heading div > span { color: var(--muted); font-size: 13px; }
.profile-summary { display: grid; grid-template-columns: 1.35fr .8fr .7fr; align-items: center; gap: 10px; padding: 24px 27px; background: var(--green-dark); color: #fff; border-radius: 18px; box-shadow: 0 18px 45px rgba(13,68,54,.18); }
.summary-main { display: flex; gap: 15px; align-items: center; }
.summary-icon { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 50px; border-radius: 14px; background: rgba(255,255,255,.1); color: #b9d8ca; font-size: 25px; }
.profile-summary small { color: #a9c8ba; font-size: 8px; letter-spacing: .12em; font-weight: 800; }
.summary-main h2 { margin: 4px 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.summary-main p { color: #c2d8cf; margin: 0; font-size: 10px; }
.summary-stat { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.14); }
.summary-stat strong { display: block; color: #f6d47c; margin: 7px 0 4px; font-size: 16px; }
.summary-stat span { color: #b6cec3; font-size: 9px; }
.priority-callout { margin: 19px 0 38px; display: flex; align-items: center; gap: 13px; padding: 15px 20px; background: #fff9e8; border: 1px solid #f1dfab; border-radius: 12px; }
.priority-callout > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; color: #a77610; background: #fae8b6; border-radius: 9px; }
.priority-callout p { margin: 0; display: flex; flex-wrap: wrap; gap: 5px 8px; font-size: 11px; line-height: 1.5; }
.priority-callout b { color: var(--muted); font-weight: 500; }
.recommendations-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.recommendations-header > span { color: var(--muted); font-size: 10px; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recommendation-card { position: relative; min-height: 365px; padding: 24px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 25px rgba(20,65,52,.05); overflow: hidden; }
.recommendation-card.is-priority { border: 1.5px solid var(--green); box-shadow: 0 14px 35px rgba(20,92,73,.12); }
.priority-badge { position: absolute; right: 0; top: 0; padding: 6px 12px; color: #fff; background: var(--green); border-radius: 0 15px 0 10px; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.recommendation-top { display: flex; align-items: center; justify-content: space-between; }
.recommendation-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #e8f3ed; color: var(--green); font-size: 22px; }
.solar .recommendation-icon { color: #aa7514; background: #fff3d4; }
.heating .recommendation-icon { color: #b65c3d; background: #fbe9e3; }
.level { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 99px; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.level i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.level-high { color: #247453; background: #e8f5ee; }
.level-medium { color: #91620d; background: #fff2ce; }
.level-low { color: #68736e; background: #eef1ef; }
.recommendation-card h3 { margin: 19px 0 18px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.score-line { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.score-line > span { font-size: 7px; color: var(--muted); font-weight: 850; letter-spacing: .08em; }
.score-line b { font-size: 15px; }
.score-line small { font-size: 8px; color: var(--muted); }
.score-bar { height: 5px; overflow: hidden; margin: 7px 0 18px; border-radius: 99px; background: #edf1ef; }
.score-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.solar .score-bar i { background: #e4ab36; }
.heating .score-bar i { background: #c96e50; }
.recommendation-card > p { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.card-action { width: 100%; margin-top: auto; justify-content: space-between; color: var(--green); background: #f3f7f5; border: 1px solid #dce8e2; box-shadow: none; font-size: 11px; }
.solar .card-action { color: #8d6412; background: #fff9e9; border-color: #f2e3ba; }
.heating .card-action { color: #a44f35; background: #fff5f1; border-color: #f1dcd5; }
.disclaimer { display: flex; gap: 12px; max-width: 800px; margin: 28px auto 0; color: var(--muted); }
.disclaimer > span { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border: 1px solid #abb8b2; border-radius: 50%; font-size: 9px; }
.disclaimer p { margin: 0; font-size: 9px; line-height: 1.55; text-align: center; }
.disclaimer strong { color: var(--ink); }

footer { padding: 27px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; background: #fff; }
.brand-footer { font-size: 15px; }
.brand-footer .brand-mark { width: 27px; height: 27px; border-radius: 8px; }
.brand-footer .brand-mark svg { width: 17px; }
footer p { color: var(--muted); font-size: 10px; }

dialog { width: min(430px, calc(100vw - 34px)); padding: 37px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px rgba(10,45,36,.26); color: var(--ink); text-align: center; }
dialog::backdrop { background: rgba(8,30,24,.5); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 13px; top: 11px; border: 0; background: transparent; color: var(--muted); font-size: 25px; }
.dialog-icon { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 17px; color: var(--green); background: var(--green-soft); font-size: 27px; }
dialog > p { margin: 0 0 7px; color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
dialog h2 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
dialog > span:not(.dialog-icon) { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; }
dialog .button { margin-top: 25px; min-width: 130px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 55px; gap: 20px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .steps-row { gap: 25px; }
  .steps-row article:not(:last-child)::after { display: none; }
  .recommendation-grid { grid-template-columns: 1fr; }
  .recommendation-card { min-height: 0; }
  .profile-summary { grid-template-columns: 1fr 1fr; }
  .summary-main { grid-column: 1 / -1; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .summary-stat { border-left: 0; padding-left: 0; }
}

@media (max-width: 650px) {
  .site-header { height: 66px; padding: 0 17px; }
  .header-assurance { display: none; }
  .brand { font-size: 18px; }
  .hero-grid { min-height: auto; padding: 42px 19px 55px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; }
  .hero-reassurance { justify-content: center; gap: 12px; }
  .hero-visual { min-height: 390px; }
  .diagnostic-card { width: 88%; padding: 17px; }
  .badge-solar { right: -9px; top: 5px; }
  .badge-heat { left: -8px; bottom: 5px; }
  .visual-badge { width: 145px; }
  .how-it-works { padding: 50px 24px; }
  .steps-row { grid-template-columns: 1fr; margin-top: 35px; }
  .diagnostic-view { padding: 25px 12px 50px; }
  .back-link span { display: none; }
  #energy-form { padding: 27px 19px 23px; border-radius: 16px; }
  .form-heading { gap: 12px; }
  .form-heading h2 { font-size: 24px; }
  .choice-grid-2, .field-row { grid-template-columns: 1fr; gap: 0; }
  .choice-grid-2 { gap: 10px; }
  .optional-block { padding: 16px 14px 0; }
  .form-actions .button { padding: 13px 15px; min-width: unset; gap: 10px; }
  .analysis-view { min-height: calc(100vh - 66px); padding: 55px 14px; }
  .analysis-card { padding: 43px 18px; }
  .analysis-checks { flex-direction: column; gap: 7px; }
  .results-view { padding: 37px 13px 55px; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .results-heading h1 { font-size: 36px; }
  .profile-summary { padding: 22px 19px; }
  .summary-stat { min-width: 0; }
  .summary-stat strong { font-size: 14px; }
  .recommendations-header { align-items: flex-start; flex-direction: column; }
  .recommendations-header > span { display: none; }
  .priority-callout p { display: block; }
  .priority-callout b { display: block; margin-top: 3px; }
  footer { padding: 23px 17px; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
