:root {
  --ink: #17201d;
  --muted: #6e7773;
  --paper: #f5f2ea;
  --card: #fcfbf7;
  --line: #d9d8d0;
  --lime: #c8f04b;
  --lime-dark: #a8cb31;
  --forest: #23352f;
  --orange: #ef8d58;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button { color: inherit; }

.topbar { height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--lime); border-radius: 50% 50% 45% 45%; letter-spacing: 0; font-style: italic; }
.privacy-pill { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.privacy-pill span { width: 7px; height: 7px; background: #6fa84f; border-radius: 50%; box-shadow: 0 0 0 4px #dfe9d8; }
.shell { max-width: 1180px; margin: 0 auto; padding: 62px 24px 90px; }
.hero { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 60px; }
.eyebrow, .kicker { font-size: 11px; letter-spacing: .2em; font-weight: 700; color: #79827e; }
h1 { font-family: Manrope, sans-serif; font-size: clamp(50px, 7vw, 88px); line-height: .92; letter-spacing: -.065em; margin: 16px 0 0; }
h1 em { color: #7c876d; font-style: normal; font-weight: 600; }
.hero-copy { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 4px; }
.stepper { display: flex; align-items: center; margin: 70px 0 36px; }
.step { border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 10px; color: #929a96; font-weight: 600; cursor: pointer; }
.step span { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #bcc1be; border-radius: 50%; font-size: 10px; }
.step.active { color: var(--ink); }
.step.active span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: 0 18px; }
.panel { display: none; animation: reveal .35s ease; }
.panel.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 24px; }
.section-heading h2 { font-family: Manrope, sans-serif; font-size: 30px; letter-spacing: -.04em; margin: 7px 0 0; }
.section-heading p:last-child { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.kicker { margin: 0; }
.baseline-grid, .projection-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 20px; }
.photo-drop { min-height: 550px; position: relative; overflow: hidden; border: 1px dashed #a8afa9; border-radius: 4px; background: #ecebe4; cursor: pointer; display: grid; place-items: center; }
.photo-drop.dragging, .actual-upload.dragging { outline: 3px solid var(--lime); outline-offset: -3px; }
.photo-drop input, .actual-upload input { display: none; }
.photo-drop img, .actual-upload img { width: 100%; height: 100%; object-fit: cover; display: none; position: absolute; inset: 0; }
.photo-drop.has-image img, .actual-upload.has-image img { display: block; }
.drop-copy { text-align: center; display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.drop-copy strong { color: var(--ink); }
.drop-copy span { font-size: 12px; }
.camera-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--card); font-size: 24px; margin-bottom: 5px; }
.replace-photo { display: none; position: absolute; right: 14px; bottom: 14px; border: 0; background: rgba(20,29,26,.82); color: white; border-radius: 3px; padding: 9px 12px; font-size: 12px; cursor: pointer; }
.photo-drop.has-image .replace-photo { display: block; }
.photo-drop.has-image .drop-copy { display: none; }
.form-card, .visual-card, .compare-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.form-card-title { display: flex; justify-content: space-between; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.required-note { color: var(--muted); font-size: 11px; font-weight: 500; }
.fields { display: grid; gap: 19px 14px; }
.two-col { grid-template-columns: 1fr 1fr; }
label > span, .projection-controls label, .actual-inputs small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #69716d; margin-bottom: 8px; }
label i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
input[type="number"], input[type="date"] { width: 100%; height: 44px; padding: 0 12px; color: var(--ink); background: #f5f4ef; border: 1px solid #d4d4cd; border-radius: 3px; outline: none; }
input:focus { border-color: #71856b; box-shadow: 0 0 0 3px rgba(113,133,107,.12); }
.note { display: flex; gap: 11px; background: #eef0e8; padding: 13px; margin: 22px 0; color: #5f6964; }
.note span { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #7c8982; border-radius: 50%; font-size: 11px; }
.note p { margin: 0; font-size: 12px; line-height: 1.5; }
.primary, .secondary { min-height: 49px; border: 0; border-radius: 3px; padding: 0 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: #2c3a35; }
.primary span { color: var(--lime); font-size: 19px; }
.form-card > .primary, .visual-card > .primary { width: 100%; }
.secondary { background: transparent; border: 1px solid #aeb3b0; }

.projection-layout { grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.projection-controls { padding: 28px; }
.control-row { display: flex; align-items: start; justify-content: space-between; }
.control-row label { margin-bottom: 5px; color: var(--ink); }
.control-row small { color: var(--muted); }
.control-row output { font-family: Manrope; font-size: 22px; font-weight: 700; }
.range { appearance: none; width: 100%; height: 4px; background: linear-gradient(90deg, var(--forest), var(--lime)); border-radius: 4px; margin: 20px 0 28px; }
.range::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--ink); cursor: pointer; }
.target-fields { margin-bottom: 25px; }
.divider { height: 1px; background: var(--line); }
.subhead { font-weight: 700; margin: 23px 0 20px; }
.slider-group label { display: flex; justify-content: space-between; }
.slider-group output { color: var(--ink); }
.slider-group .range { margin: 4px 0 20px; }
.rate-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #ebf2df; margin-top: 8px; }
.rate-card.warning { background: #faeadf; }
.rate-icon { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; background: #779346; color: white; border-radius: 50%; }
.warning .rate-icon { background: var(--orange); }
.rate-card strong { font-size: 12px; }
.rate-card p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.visual-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.visual-card-head { padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.visual-card-head div { display: flex; flex-direction: column; gap: 3px; }
.visual-card-head span { font-size: 9px; letter-spacing: .15em; font-weight: 700; color: var(--muted); }
.visual-card-head strong { font-size: 13px; }
.estimate-badge { padding: 5px 7px; background: #ecece5; }
.photo-stage { position: relative; min-height: 420px; display: grid; place-items: center; background: #d9dad3; overflow: hidden; }
#projection-canvas { width: 100%; height: 420px; object-fit: cover; display: none; }
.empty-projection { text-align: center; color: #6f7772; max-width: 210px; }
.empty-projection span { font-size: 40px; }
.empty-projection p { font-size: 13px; line-height: 1.45; }
.metric-strip { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-strip div { padding: 15px 18px; border-right: 1px solid var(--line); }
.metric-strip div:last-child { border: 0; }
.metric-strip span, .metric-strip small { display: block; font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.metric-strip strong { display: block; font-family: Manrope; font-size: 20px; margin: 3px 0 1px; }
.metric-strip small { color: #657f3f; }
.visual-disclaimer { font-size: 10px; color: var(--muted); line-height: 1.45; margin: 14px 20px; }
.visual-card > .primary { width: auto; margin: auto 20px 20px; }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { padding: 0; overflow: hidden; }
.compare-label { height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.compare-label time { color: var(--muted); letter-spacing: 0; }
.compare-label input { width: 145px; height: 34px; }
.compare-image { position: relative; height: 430px; background: #e0e0da; display: grid; place-items: center; overflow: hidden; }
.compare-image canvas { width: 100%; height: 100%; object-fit: cover; }
.canvas-placeholder { position: absolute; color: var(--muted); font-size: 13px; }
.compare-image canvas[width] + .canvas-placeholder { display: none; }
.actual-upload { cursor: pointer; }
.actual-drop-copy { display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.actual-drop-copy span { font-size: 28px; }
.actual-drop-copy strong { font-size: 13px; }
.actual-upload.has-image .actual-drop-copy { display: none; }
.compare-stats, .actual-inputs { display: grid; grid-template-columns: repeat(3,1fr); }
.compare-stats span, .actual-inputs label { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); }
.compare-stats span:last-child, .actual-inputs label:last-child { border: 0; }
.compare-stats small { display: block; color: var(--muted); font-size: 10px; }
.compare-stats b { font-family: Manrope; font-size: 18px; }
.actual-inputs input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #bbc0bc; background: transparent; height: 28px; outline: 0; }
.actual-inputs small { margin: 0 0 4px; font-size: 9px; }
.verdict-card { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px; margin-top: 20px; padding: 25px; border: 1px solid var(--line); background: var(--forest); color: white; }
.verdict-score { display: flex; align-items: center; gap: 10px; border-right: 1px solid rgba(255,255,255,.15); }
.verdict-score span { font: 800 38px Manrope; color: var(--lime); }
.verdict-score small { font-size: 8px; letter-spacing: .13em; color: #aeb8b3; }
.verdict-copy p { margin: 0 0 4px; font-size: 9px; letter-spacing: .18em; color: var(--lime); }
.verdict-copy h3 { margin: 0 0 5px; font: 700 20px Manrope; }
.verdict-copy span { font-size: 12px; color: #bbc4c0; }
.verdict-deltas { display: flex; gap: 8px; }
.delta-pill { padding: 8px 10px; background: rgba(255,255,255,.08); font-size: 10px; white-space: nowrap; }
.delta-pill b { display: block; font-size: 13px; margin-top: 2px; }
.actions-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
footer { max-width: 1180px; margin: 0 auto; padding: 25px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .12em; }

@media (max-width: 800px) {
  .shell { padding-top: 38px; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  h1 { font-size: 54px; }
  .step { font-size: 0; }
  .step span { font-size: 10px; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 12px; }
  .baseline-grid, .projection-layout, .comparison-grid { grid-template-columns: 1fr; }
  .photo-drop { min-height: 430px; }
  .verdict-card { grid-template-columns: 90px 1fr; }
  .verdict-deltas { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .privacy-pill { font-size: 0; }
  .hero-copy { font-size: 14px; }
  .two-col { grid-template-columns: 1fr; }
  .photo-stage, #projection-canvas { min-height: 360px; height: 360px; }
  .compare-image { height: 360px; }
  .metric-strip strong { font-size: 16px; }
  .compare-stats span, .actual-inputs label { padding: 12px 8px; }
  .actions-row { flex-direction: column-reverse; }
  .actions-row button { width: 100%; }
  footer { display: block; line-height: 2; }
}
