* { box-sizing: border-box }
body { margin: 0; background: #f6f7f0; color: #193e34; font: 1rem/1.55 "DM Sans",system-ui,sans-serif }
header,main { width: min(100% - 2rem, 54rem); margin: auto }
header { padding: 1rem 0; border-bottom: 1px solid #bccbbd; font-weight: 750 }
header span { font-weight: 450 }
main { padding: 2.5rem 0 }
h1 { font: 500 clamp(2.6rem,7vw,4.8rem)/1.08 Georgia,serif; margin: 0 }
.intro { max-width: 42rem; font-size: 1.15rem }
main > section { background: white; padding: clamp(1rem,4vw,2rem); margin: 1.6rem 0; border: 1px solid #cdd7ce; border-radius: .6rem }
h2 { margin: 0; font-size: 1.4rem }
#request { background: #205647; color: white; border: 0; border-radius: .4rem; padding: .8rem 1.3rem; font: inherit; cursor: pointer }
#request:disabled { opacity: .65 }
#offer { overflow-wrap: anywhere }
#agent-app { --ns-primary: #205647; --ns-accent: #205647 }

:root { --ink: #eaf8ff; --muted: #c3d5e3; --line: #35576f; --cyan: #8beefa; --scene: url("./solar-district.svg") }
body { position: relative; isolation: isolate; background: #08192e; color: var(--ink) }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,14,29,.92), rgba(3,14,29,.75) 28%, transparent 57%),
              var(--scene) center top / cover no-repeat, #08192e;
}
header, main { width: min(calc(100% - 2.5rem), 70rem) }
header { border-color: #54708b80; display: flex; align-items: baseline; gap: .55rem; color: #f0fbff }
header span { color: var(--muted) }
header a, main a { color: var(--cyan) }
.motion-option { margin-left: auto; cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 450; white-space: nowrap }
.motion-option input { accent-color: #8beefa; vertical-align: middle }
body:has(#pause-scene:checked) { --scene: url("./solar-district-still.svg") }
.solar-hero { display: grid; align-items: center; min-height: clamp(20rem, 47vh, 32rem); padding: 1.5rem 0 }
.solar-hero > div { width: min(42%, 29rem) }
.solar-hero h1 { font-family: "DM Sans",system-ui,sans-serif; font-weight: 620; font-size: clamp(3.25rem,5.7vw,5.2rem); line-height: .99; letter-spacing: -.055em; text-wrap: balance }
.solar-hero .intro { max-width: 34ch; color: var(--muted) }
.solar-hero a:not(.primary-link) { text-underline-offset: .3em }
main > section { background: rgba(8,26,45,.96); border-color: var(--line); box-shadow: 0 14px 50px #01081438 }
#request,.primary-link,.street button { background: #8beefa; border-color: #8beefa; color: #05202d; font-weight: 650 }
#agent-app { background: #fff; color: #172c3d; border-radius: .45rem; overflow: hidden }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid #ffc885; outline-offset: 3px }
@media (max-width: 44rem) {
  body::before {
    background: linear-gradient(180deg,rgba(3,14,29,.94) 0%,rgba(3,14,29,.85) 16%,transparent 39%,rgba(4,16,34,.1) 100%),
                var(--scene) 77% 5.5rem / auto clamp(32rem,75vh,48rem) no-repeat,
                linear-gradient(155deg,#06172a 38%,#1b1839 85%,#2b173b);
  }
  main { padding-top: .8rem }
  .solar-hero { min-height: 0; padding: .7rem 0 clamp(9rem,25vh,15rem); align-items: start }
  .solar-hero > div { width: 100% }
  .solar-hero h1 { font-size: clamp(2.45rem,9vw,3.8rem) }
  .solar-hero .intro { font-size: 1rem; margin: .7rem 0 1rem; max-width: 32ch }
}
@media (prefers-reduced-motion: reduce) {
  :root { --scene: url("./solar-district-still.svg") }
  .motion-option { display: none }
}
