:root {
  color-scheme: light;
  --ink: #13201c;
  --muted: #5f6f68;
  --line: #d9e2df;
  --paper: #fbfcfb;
  --soft: #eef5f2;
  --brand: #0f766e;
  --brand-dark: #0b4f49;
  --accent: #f2b84b;
  --blue: #3266d6;
  --pink: #cc3f83;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(19, 32, 28, 0.08);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 130deg, var(--brand), var(--blue), var(--pink), var(--accent), var(--brand));
  box-shadow: inset 0 0 0 5px #ffffff;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 74, 68, 0.22);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font-weight: 650;
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.section {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--soft);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  max-width: 900px;
}

.specs dt {
  font-weight: 700;
}

.specs dd {
  margin: 0 0 12px;
  color: var(--muted);
}

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

.affiliate {
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
}

.affiliate small {
  display: block;
  color: var(--muted);
}

.notice {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.install-panel {
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #ffffff;
}

.step-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.step-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(19, 32, 28, 0.1);
}

.step-list article:last-child {
  border-bottom: 0;
}

.step-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}

esp-web-install-button {
  display: block;
  margin: 18px 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.page {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 18px;
}

.page h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(19px, 2.3vw, 25px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 6vw, 84px);
  background:
    radial-gradient(circle at 82% 35%, rgba(15, 118, 110, 0.13), transparent 30%),
    linear-gradient(145deg, #ffffff, #f1f7f4);
}

.product-hero h1 {
  margin: 0 0 22px;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.premium-visual {
  margin: 0;
}

.premium-visual img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 38px 48px rgba(10, 38, 32, 0.24));
}

.premium-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.purchase-note {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.dark-section {
  color: #eefcf7;
  background: #0c1714;
}

.dark-section .eyebrow {
  color: #69d5c8;
}

.dark-section h2 {
  max-width: 850px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.14);
}

.feature-strip article {
  min-height: 250px;
  padding: 28px;
  background: #0c1714;
}

.feature-strip p {
  color: #9fb5ae;
}

.feature-icon {
  display: block;
  margin-bottom: 40px;
  color: #69d5c8;
  font-size: 34px;
}

.weather-showcase {
  color: #eef7f5;
  background: #08110f;
}

.weather-showcase .eyebrow {
  color: #69d5c8;
}

.weather-showcase .section-intro {
  color: #9fb5ae;
}

.weather-state-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-top: 38px;
}

.weather-state-grid figure {
  margin: 0;
}

.weather-state-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.weather-state-grid figcaption {
  margin-top: 10px;
  color: #b7c9c4;
  font-size: 13px;
  text-align: center;
}

.weather-mapping {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(180px, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.weather-mapping code,
.weather-mapping span {
  padding: 10px 14px;
  background: #ffffff;
}

.weather-mapping code {
  border-radius: 0;
  color: var(--brand-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.split-section img {
  width: 100%;
}

.check-list,
.clean-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.clean-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
}

.check-list li::before,
.clean-list li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
  content: "✓";
}

.install-cta {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.install-cta .actions {
  justify-content: center;
}

.compact-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 38px 0;
  list-style: none;
  counter-reset: install-step;
}

.compact-process li {
  padding: 18px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  counter-increment: install-step;
}

.compact-process li::before {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-weight: 800;
  content: "0" counter(install-step);
}

.order-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 clamp(18px, 5vw, 64px) clamp(44px, 7vw, 88px);
  border-radius: 16px;
  color: #ffffff;
  background: var(--brand-dark);
}

.order-panel .eyebrow {
  color: #76ded2;
}

.order-panel h2,
.order-panel p {
  margin-bottom: 8px;
}

.order-panel .button {
  flex: 0 0 auto;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--brand-dark);
}

.browser-check,
.support-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

[data-browser-status][data-ok="true"] + span,
[data-browser-status][data-ok="true"] {
  color: var(--brand-dark);
}

.install-wizard {
  margin: 24px 0;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.wizard-progress li {
  padding: 10px 8px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.wizard-progress li[data-state="active"],
.wizard-progress li[data-state="done"] {
  border-color: var(--brand);
  color: var(--brand-dark);
  font-weight: 750;
}

.wizard-panel {
  position: relative;
  min-height: 390px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 74, 68, 0.1);
}

.wizard-panel[hidden] {
  display: none;
}

.wizard-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
}

.text-button {
  padding: 10px 0;
  border: 0;
  color: var(--brand-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.microcopy {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
}

.orientation {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 26px 0;
}

.usb-plug {
  padding: 16px 24px;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 5px 5px;
  font-weight: 800;
}

.rotate-arrow {
  color: var(--brand);
  font-size: 40px;
}

.support-card {
  align-items: flex-start;
  border-color: rgba(242, 184, 75, 0.5);
  background: #fffaf0;
}

.support-card span {
  flex: 1 1 400px;
  color: var(--muted);
}

.doc-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.doc-section h2 {
  margin-top: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.numbered-guide {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.numbered-guide li {
  padding-left: 8px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.test-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.test-grid span {
  color: var(--muted);
}

details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  font-weight: 750;
  cursor: pointer;
}

.inset {
  padding: 28px;
  border: 0;
  border-radius: 10px;
}

.page img {
  max-width: 100%;
  border-radius: 8px;
}

.product-hero-photo {
  margin: 28px 0 0;
}

.product-hero-photo img {
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eaf3ef;
}

pre {
  overflow: auto;
  padding: 16px;
  border-radius: 8px;
  background: #10201c;
  color: #e8fff8;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .grid,
  .affiliate-list,
  .specs,
  .photo-grid,
  .product-hero,
  .split-section,
  .feature-strip,
  .weather-state-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .weather-state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-process {
    grid-template-columns: 1fr;
  }

  .order-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .wizard-progress li {
    overflow: hidden;
    font-size: 0;
  }

  .wizard-progress li::before {
    font-size: 12px;
    content: attr(data-stage-dot);
    text-transform: capitalize;
  }
}
