:root {
  color-scheme: dark;
  --bg: #101e2a;
  --surface: #162632;
  --text: #f3f3eb;
  --muted: #a9b7be;
  --gold: #efc46b;
  --line: #31414b;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none!important;
}

a:focus-visible,button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.page {
  max-width: 1320px;
  margin: auto;
  padding: 0 64px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--gold);
  color: var(--bg);
  padding: 12px;
}

.skip-link:focus {
  top: 16px;
}

.header {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.4px;
}

.brand-caption {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 2.8px;
  font-weight: 500;
  color: var(--muted);
}

.header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.small-sun {
  font-size: 21px;
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 76px 0 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 2.2px;
  font-weight: 650;
  color: var(--gold);
  margin: 0 0 28px;
}

.eyebrow>span {
  height: 5px;
  width: 5px;
  background: var(--gold);
  border-radius: 50%;
}

h1 {
  font-size: clamp(56px,6.5vw,86px);
  font-weight: 450;
  line-height: 1.04;
  letter-spacing: -4px;
  margin: 0 0 27px;
}

h1 em {
  font-family: Georgia,"Times New Roman",serif;
  font-weight: 400;
  color: var(--gold);
}

.intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 31px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 15px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: background .15s;
}

.button span {
  font-size: 22px;
  line-height: 1;
}

.primary {
  background: var(--gold);
  color: #15212a;
}

.primary:hover {
  background: #ffda89;
}

.secondary {
  color: var(--text);
  border-color: #53616a;
  background: transparent;
  gap: 16px;
}

.secondary:hover {
  background: #223540;
}

.button[aria-disabled="true"] {
  opacity: .6;
}

.destination-note {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 0;
}

.hero-visual {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: radial-gradient(ellipse at 55% 38%,#283735 0%,#1a2b34 42%,#162632 72%);
  overflow: hidden;
}

.visual-topline,.visual-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 28px;
}

.visual-topline {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.solar-scene {
  display: block;
  width: 100%;
  height: auto;
  margin: -14px 0 -12px;
}

.visual-bottomline {
  font-size: 11px;
  margin-top: 0;
}

.visual-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.visual-caption {
  font-size: 10px;
  color: var(--muted);
}

.installation {
  border-top: 1px solid var(--line);
  padding: 38px 0 43px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 27px;
}

.section-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}

h2 {
  font-size: 28px;
  font-weight: 450;
  letter-spacing: -.7px;
  margin: 0;
}

.section-heading>p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 1px;
}

.instructions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.instruction-card {
  display: flex;
  gap: 18px;
  padding: 25px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  position: relative;
}

.device-icon {
  flex-shrink: 0;
  width: 36px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #213039;
  border-radius: 6px;
}

.device-icon svg {
  width: 23px;
  height: 27px;
}

.instruction-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 1px 25px 10px 0;
}

.instruction-card h3 span {
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
  color: var(--muted);
}

.instruction-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  margin: 0;
  max-width: 370px;
}

.instruction-card strong {
  font-weight: 500;
  color: #dbe1e1;
}

.step-number {
  position: absolute;
  right: 21px;
  top: 25px;
  color: #8a9aa5;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.installation-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 18px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  color: var(--muted);
  font-size: 10px;
}

.footer-divider {
  margin: 0 9px;
  color: #657783;
}

.footer-sun {
  font-size: 18px;
  margin-left: 15px;
  color: var(--gold);
}

.status {
  margin-top: 20px;
  padding: 15px 18px;
  border-left: 2px solid var(--gold);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.6;
}

.status p {
  margin: 0;
}

.retry {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: none;
  color: var(--gold);
  border: 0;
  padding: 12px 0 0;
  min-height: 44px;
  font-weight: 600;
}

@media(min-width:1440px) {
  .hero {
    padding-top: 94px;
    padding-bottom: 96px;
  }
}

@media(max-width:1000px) {
  .page {
    padding: 0 36px;
  }
  .hero {
    gap: 26px;
    padding: 60px 0;
  }
  h1 {
    font-size: 66px;
    letter-spacing: -3px;
  }
  .visual-topline,.visual-bottomline {
    margin-left: 20px;
    margin-right: 20px;
  }
  .visual-caption {
    display: none;
  }
  .section-heading>p {
    max-width: 310px;
  }
  .desktop-break {
    display: none;
  }
  .instruction-card {
    padding: 22px 18px;
    gap: 13px;
  }
}

@media(max-width:740px) {
  .page {
    padding: 0 24px;
    padding-left: max(24px,env(safe-area-inset-left));
    padding-right: max(24px,env(safe-area-inset-right));
  }
  .header {
    height: 100px;
    padding-top: env(safe-area-inset-top);
  }
  .brand {
    font-size: 17px;
  }
  .brand img {
    width: 39px;
    height: 39px;
  }
  .brand-caption {
    font-size: 8px;
    letter-spacing: 2.1px;
  }
  .header-note {
    font-size: 0;
    gap: 0;
  }
  .small-sun {
    font-size: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 43px 0 38px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: clamp(58px,12vw,78px);
    margin-bottom: 23px;
  }
  .intro {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .button {
    min-height: 52px;
  }
  .hero-visual {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .visual-topline {
    margin-top: 21px;
  }
  .solar-scene {
    max-height: 350px;
  }
  .visual-bottomline {
    margin-bottom: 22px;
  }
  .visual-caption {
    display: block;
  }
  .section-heading {
    display: block;
  }
  .section-heading>p {
    max-width: none;
    margin-top: 16px;
  }
  .installation {
    padding: 32px 0;
  }
  .instructions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .instruction-card {
    padding: 23px 20px;
    gap: 16px;
  }
  .instruction-card p {
    max-width: none;
  }
  .installation-note {
    font-size: 10px;
  }
  h2 {
    font-size: 26px;
  }
  footer {
    align-items: start;
    padding-bottom: max(25px,env(safe-area-inset-bottom));
    font-size: 9px;
    line-height: 1.8;
  }
  .footer-divider {
    margin: 0 5px;
  }
  .footer-sun {
    display: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
}
