:root {
    color-scheme: light dark;
    --site-background: #f6f5ef;
    --site-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --site-font-heading: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    --site-heading-scale: 1;
    --site-radius-scale: 1;
    --ink: #152437;
    --lime: #c4eb67;
    --navy: #101c2b;
    --radius-lg: calc(26px * var(--site-radius-scale));
    --shadow: 0 24px 70px rgba(16, 28, 43, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: light-dark(var(--site-background), #101820);
    color: light-dark(var(--ink), #edf1ed);
    font-family: var(--site-font-body);
    -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.app-root {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background-color: light-dark(var(--site-background), #101820);
    color: light-dark(var(--ink), #edf1ed);
}
.container { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.topbar {
    position: relative;
    z-index: 5;
    background: var(--navy);
    color: #f7f8f2;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
    width: 37px; height: 37px; border-radius: 12px;
    display: grid; place-items: center;
    color: var(--navy); background: var(--lime);
    box-shadow: 0 0 0 5px rgba(196,235,103,.10);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-family: var(--site-font-heading); font-weight: 800; letter-spacing: .105em; font-size: 15px; line-height: 1.1; }
.brand-sub { display: block; margin-top: 4px; color: #aab6c1; font-size: 8px; letter-spacing: .24em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 34px; color: #c5ced4; font-size: 12px; font-weight: 600; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--lime); }
.nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 43px; padding: 0 19px; border-radius: 999px;
    background: var(--lime); color: #182515; font-size: 12px; font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: #d1f27f; transform: translateY(-1px); }

.hero {
    position: relative;
    isolation: isolate;
    background: var(--navy);
    color: #f7f8f2;
    padding: 62px 0 86px;
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
    width: 530px; height: 530px; border: 1px solid rgba(196,235,103,.10);
    border-radius: 50%; right: -180px; top: -280px;
    box-shadow: 0 0 0 58px rgba(196,235,103,.025), 0 0 0 116px rgba(196,235,103,.02);
}
.hero::after {
    width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(196,235,103,.14), rgba(196,235,103,0) 70%);
    left: 28%; bottom: -130px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 470px; gap: 68px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); text-transform: uppercase; font-size: 10px; letter-spacing: .2em; font-weight: 800; }
.eyebrow::before { content: ""; width: 27px; height: 1px; background: var(--lime); }
.hero-copy h1 {
    max-width: 610px; margin: 22px 0 20px;
    font-family: var(--site-font-heading); font-weight: 650;
    letter-spacing: -.055em; line-height: 1.04;
    font-size: calc(clamp(46px, 5.5vw, 72px) * var(--site-heading-scale));
}
.hero-copy h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 490px; color: #bac5cd; font-size: 15px; line-height: 1.8; margin: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero-point { display: flex; align-items: center; gap: 8px; color: #e0e6e1; font-size: 11px; font-weight: 600; }
.hero-point svg { color: var(--lime); flex: 0 0 auto; }

.form-card {
    position: relative; z-index: 2;
    background: #fbfaf6; color: var(--ink);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: var(--radius-lg); padding: 29px;
    box-shadow: var(--shadow);
}
.form-kicker { color: #f5158d; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.form-card h2 { margin: 9px 0 7px; font-family: var(--site-font-heading); font-size: 27px; letter-spacing: -.04em; line-height: 1.15; }
.form-intro { color: #6e7880; font-size: 12px; line-height: 1.6; margin: 0 0 21px; }
.form-progress { height: 4px; width: 100%; background: #e8ebdf; border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.form-progress span { display: block; height: 100%; width: 68%; border-radius: inherit; background: #a7d448; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #43515d; font-size: 10px; font-weight: 750; letter-spacing: .015em; }
.field input, .field select {
    appearance: none; width: 100%; height: 46px; min-width: 0;
    border: 1px solid #dce1db; border-radius: 10px;
    background-color: #fff; color: #1d2d3e;
    padding: 0 13px; outline: none; font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: #a0a9ac; }
.field input:focus, .field select:focus { border-color: #93bf39; box-shadow: 0 0 0 3px rgba(177,220,82,.18); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 15px; top: 17px; width: 7px; height: 7px; border-right: 1.5px solid #748078; border-bottom: 1.5px solid #748078; transform: rotate(45deg); pointer-events: none; }
.form-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 51px; margin-top: 19px;
    border: 0; border-radius: 11px; cursor: pointer;
    background: var(--lime); color: #172417; font-weight: 850;
    box-shadow: 0 7px 18px rgba(158,198,67,.2);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-submit:hover { background: #d0f17a; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(158,198,67,.25); }
.form-submit svg { width: 16px; height: 16px; }
.form-footnote { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin: 13px 0 0; color: #87918e; font-size: 9px; line-height: 1.55; text-align: center; }
.form-footnote svg { flex: 0 0 auto; margin-top: 1px; }
.demo-message { display: none; margin-top: 13px; padding: 10px 12px; border-radius: 9px; background: #edf4df; color: #40552c; font-size: 11px; line-height: 1.5; }
.demo-message.show { display: block; }

.hero-art {
    position: relative; width: min(100%, 530px); height: 165px;
    margin-top: 43px; opacity: .95;
}
.art-sun { position: absolute; left: 7%; top: 1px; width: 80px; height: 80px; border-radius: 50%; background: #d8f28d; box-shadow: 0 0 0 17px rgba(216,242,141,.08), 0 0 65px rgba(216,242,141,.24); }
.art-hill { position: absolute; bottom: 4px; left: 0; width: 100%; height: 85px; background: #24394a; border-radius: 65% 45% 0 0 / 50% 60% 0 0; transform: skewY(-3deg); }
.art-house { position: absolute; z-index: 1; bottom: 18px; left: 31%; width: 210px; height: 91px; background: #e8e9dc; clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); }
.art-roof { position: absolute; z-index: 2; bottom: 75px; left: 27%; width: 228px; height: 67px; background: #a9bbc1; clip-path: polygon(50% 0, 100% 66%, 94% 75%, 50% 18%, 6% 75%, 0 66%); }
.solar-panel { position: absolute; z-index: 3; bottom: 92px; left: 34%; width: 152px; height: 40px; transform: skewY(27deg) rotate(-1deg); border: 2px solid #263c4c; background: repeating-linear-gradient(90deg, #456477 0 2px, transparent 2px 38px), repeating-linear-gradient(0deg, #456477 0 2px, #29465a 2px 12px); clip-path: polygon(12% 0,100% 0,88% 100%,0 100%); }
.art-window { position: absolute; z-index: 3; bottom: 38px; left: 48%; width: 29px; height: 31px; background: #829e9d; border: 4px solid #d5d9cc; }
.art-door { position: absolute; z-index: 3; bottom: 18px; left: 62%; width: 22px; height: 39px; background: #526878; border-radius: 9px 9px 0 0; }
.art-tree { position: absolute; z-index: 2; bottom: 17px; right: 9%; width: 57px; height: 91px; background: #8aa76b; clip-path: polygon(50% 0, 94% 62%, 69% 62%, 100% 83%, 0 83%, 31% 62%, 6% 62%); }
.art-tree::after { content: ""; position: absolute; bottom: 0; left: 44%; height: 20px; width: 8px; background: #b2a17d; }
.art-label { position: absolute; z-index: 4; right: 1%; top: 4px; display: flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #e5edda; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.art-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.proof-strip { background: #1b2b3b; color: #dfe5df; border-top: 1px solid rgba(255,255,255,.07); }
.proof-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.proof-lead { color: #91a0a7; font-size: 9px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; }
.proof-item { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 650; }
.proof-item svg { color: var(--lime); }

.bottom-cta { padding: 74px 0; background: var(--navy); color: #f7f8f2; }
.bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.bottom-cta h2 { margin: 0 0 9px; max-width: 610px; font-family: var(--site-font-heading); font-size: calc(34px * var(--site-heading-scale)); letter-spacing: -.045em; line-height: 1.13; }
.bottom-cta p { margin: 0; color: #aebbc3; font-size: 12px; }
.bottom-cta a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--lime); color: #172417; font-size: 11px; font-weight: 850; }

footer { background: #0c1723; color: #aab5bd; padding: 25px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { color: #f4f6ed; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.footer-brand span { color: #9dbb63; }
.footer-copy, .footer-note { font-size: 9px; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr 420px; gap: 32px; }
    .hero-copy h1 { font-size: calc(clamp(43px, 5.5vw, 60px) * var(--site-heading-scale)); }
    .hero-art { transform: scale(.9); transform-origin: left center; width: 110%; }
}
@media (max-width: 780px) {
    .container { width: min(100% - 36px, 580px); }
    .nav { height: 70px; }
    .nav-links { display: none; }
    .brand { min-width: 0; }
    .nav-cta { min-height: 40px; padding: 0 15px; font-size: 10px; }
    .hero { padding: 48px 0 55px; }
    .hero-grid { grid-template-columns: 1fr; gap: 31px; }
    .hero-copy h1 { max-width: 600px; font-size: calc(clamp(46px, 10vw, 65px) * var(--site-heading-scale)); }
    .hero-copy > p { max-width: 550px; }
    .hero-art { display: none; }
    .form-card { max-width: 560px; }
    .proof-inner { padding: 19px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
    .proof-lead { grid-column: 1 / -1; }
    .bottom-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .container { width: calc(100% - 30px); }
    .brand-name { font-size: 13px; }
    .form-card { padding: 22px 18px; border-radius: 20px; }
    .form-card h2 { font-size: 25px; }
    .field-grid { grid-template-columns: 1fr; gap: 12px; }
    .field.full { grid-column: auto; }
    .hero-points { gap: 12px 16px; }
    .hero-point { font-size: 10px; }
    .proof-inner { column-gap: 9px; }
    .proof-item { font-size: 9px; gap: 6px; }
    .proof-item svg { width: 15px; }
    .footer-inner { align-items: flex-start; flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Modal & Simulation UI Styles - Compact Version */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 28, 43, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.modal-card {
    background: #ffffff;
    color: #101c2b;
    width: 100%;
    max-width: 620px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 0.2s ease;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}
.modal-backdrop.active .modal-card {
    transform: translateY(0);
}
.modal-header {
    padding: 12px 18px;
    background: #101c2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.modal-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
}
.modal-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 700;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}
.review-item label {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    margin-bottom: 1px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.review-item span {
    font-size: 0.82rem;
    font-weight: 500;
    color: #0f172a;
    word-break: break-word;
}
.scenarios-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}
.scenario-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.scenario-option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.scenario-option input {
    margin-top: 2px;
}
.scenario-label strong {
    display: block;
    font-size: 0.8rem;
    color: #0f172a;
}
.scenario-label span {
    font-size: 0.74rem;
    color: #49515e;
}
.modal-submit-btn {
    width: 100%;
    background: #0284c7;
    color: white;
    border: none;
    padding: 9px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease;
}
.modal-submit-btn:hover {
    background: #0369a1;
}
.response-container {
    margin-top: 10px;
    background: #0f172a;
    color: #38bdf8;
    padding: 10px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    max-height: 140px;
    overflow-y: auto;
    display: none;
}
.response-container.show {
    display: block;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

.demo-notice {
    background: #eaf4fb;
    border-bottom: 1px solid #cfe3f0;
    color: #163b53;
    padding: 13px 20px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.demo-notice strong {
    font-weight: 700;
    margin-right: 4px;
}

.demo-notice a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-notice a:hover {
    color: #0369a1;
}