:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: #0b1019;
  --panel-2: #101624;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 200, 93, 0.36);
  --text: #f5f7fb;
  --muted: #a9b1c2;
  --subtle: #737d93;
  --solar: #ffbf45;
  --heat: #ff5a3d;
  --cyan: #61eaff;
  --violet: #d879ff;
  --green: #60ef9e;
  --shadow: rgba(0, 0, 0, 0.55);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.2), rgba(5, 7, 11, 0.96) 72%),
    url("assets/solar-backdrop.png") center top / cover no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, black 20%, transparent 88%);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 191, 69, 0.55);
  border-radius: 50%;
  color: #061010;
  background: linear-gradient(135deg, var(--solar), var(--cyan));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta {
  padding: 10px 14px;
  color: #081014;
  background: var(--solar);
  box-shadow: 0 0 32px rgba(255, 191, 69, 0.2);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

.button.primary {
  color: #071014;
  background: linear-gradient(135deg, var(--solar), #ff7b4d 62%, var(--violet));
}

.button.secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.button.full {
  width: 100%;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88svh;
  padding-top: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.70;
  filter: saturate(1.06) contrast(1.05);
}

.hero-shade {
  background:
    radial-gradient(circle at 74% 42%, rgba(97, 234, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.40), rgba(5, 7, 11, 0.68) 52%, rgba(5, 7, 11, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.86) 44%, rgba(5, 7, 11, 0.42));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(24px, 4vw, 44px);
  width: min(1440px, 100%);
  min-height: calc(88svh - 72px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 54px) clamp(42px, 6vw, 78px);
}

.hero-copy {
  min-width: 0;
  max-width: 740px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--solar);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.4rem, 10vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 26px;
  color: #dfe4ee;
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
  margin: 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.72);
}

.hero-facts dt {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-device {
  justify-self: end;
  width: min(1180px, 100%);
  min-width: 0;
  margin: 0;
}

.hero-device img,
.wide-shot img,
.deep-device img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #05070b;
  box-shadow: 0 34px 110px var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 11, 0.84);
}

.marquee span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #d5dbe8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.85rem;
  font-weight: 800;
}

.section {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 48px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p,
.deep-copy p,
.included-copy p,
.buy-inner p,
.faq p {
  color: var(--muted);
  font-size: 1.02rem;
}

.wide-shot {
  min-width: 0;
  margin: 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.feature-strip article,
.preset-grid article,
.faq article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.feature-strip article {
  padding: 22px;
}

.feature-strip span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-weight: 900;
}

.feature-strip p,
.preset-grid p,
.checkout-panel p {
  color: var(--muted);
}

.deep-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  width: min(1360px, 100%);
}

.deep-copy {
  max-width: 460px;
}

.deep-device {
  min-width: 0;
  margin: 0;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.preset-grid article {
  min-height: 190px;
  padding: 20px;
}

.preset-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.05rem;
}

.included-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 60px);
}

.included-list {
  display: grid;
  gap: 10px;
}

.included-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.included-list span {
  color: var(--muted);
}

.included-list strong {
  text-align: right;
}

.buy-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 48px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 191, 69, 0.12), rgba(97, 234, 255, 0.07), rgba(216, 121, 255, 0.08)),
    rgba(8, 11, 16, 0.92);
}

.buy-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.58fr);
  align-items: start;
  gap: clamp(28px, 5vw, 62px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.checkout-panel {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.price-row strong {
  color: var(--solar);
  font-size: 2.2rem;
  line-height: 1;
}

.checkout-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: #e5e9f2;
}

.checkout-panel p {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.faq {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.faq article {
  padding: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 46px);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #05070b;
}

.site-footer a {
  text-decoration: none;
}

.checkout-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.98);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.58);
}

.checkout-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.dialog-copy {
  color: var(--muted);
}

.purchase-summary {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.summary-line span {
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.checkout-form label {
  color: #e6ebf5;
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  background: #090e17;
  padding: 10px 12px;
}

.terms-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.terms-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.secure-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.secure-note.error {
  color: #ff9c8b;
}

.secure-note.success {
  color: #8df0b3;
}

.download-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.68), #05070b),
    url("assets/solar-backdrop.png") center / cover no-repeat;
}

.download-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 120px 18px 56px;
}

.download-card {
  width: min(720px, 100%);
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.92);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.download-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.download-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.download-button {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.download-button small {
  color: rgba(7, 16, 20, 0.76);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-inner,
  .deep-section,
  .included-section,
  .buy-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: end;
    padding-top: 54px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 11, 0.86), rgba(5, 7, 11, 0.62) 42%, #05070b 92%),
      linear-gradient(90deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.34));
  }

  .hero-device {
    align-self: start;
  }

  .feature-strip,
  .preset-grid,
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-inner {
    min-height: auto;
    padding: 38px 14px 42px;
  }

  .hero-copy,
  .hero-device {
    width: 340px;
    max-width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 4.8rem);
    line-height: 0.92;
  }

  .hero-facts,
  .feature-strip,
  .preset-grid,
  .faq {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .included-list div,
  .price-row,
  .summary-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .included-list strong {
    text-align: left;
  }

  .dialog-shell {
    padding: 24px 18px;
  }
}

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