body[data-page='installer'] .main-content {
  position: relative;
  isolation: isolate;
}

.installer-shell {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.installer-hero,
.installer-benefits,
.installer-devices,
.installer-help {
  position: relative;
  overflow: hidden;
}

.installer-hero::before,
.installer-devices::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 188, 220, 0.2), rgba(255, 188, 220, 0));
  pointer-events: none;
}

.installer-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffe1ee;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
}

.installer-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 0.8rem;
}

.installer-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.68;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.installer-benefits h2,
.installer-devices h2,
.installer-help h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 0.85rem;
}

.installer-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.installer-benefit-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  padding: 1rem;
  min-height: 138px;
}

.installer-benefit-card span {
  font-size: 1.4rem;
}

.installer-benefit-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-top: 0.35rem;
  margin-bottom: 0.4rem;
}

.installer-benefit-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.93rem;
}

.installer-section-head p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 1rem;
}

.installer-device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 1rem;
}

.installer-device-card {
  min-width: 0;
  min-height: 124px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  padding: 0.82rem 0.72rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.installer-device-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.installer-device-card.is-active {
  border-color: rgba(255, 214, 236, 0.72);
  background: linear-gradient(140deg, rgba(255, 192, 225, 0.21), rgba(208, 171, 238, 0.15));
  box-shadow: 0 0 0 2px rgba(255, 214, 236, 0.2), 0 12px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.installer-device-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.installer-device-title {
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.installer-panel-shell {
  min-height: 280px;
}

.installer-platform-panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 1.1rem;
}

.installer-platform-panel.is-entering {
  animation: installerPanelIn 0.26s ease both;
}

@keyframes installerPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.installer-platform-panel h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.28rem;
}

.installer-platform-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.installer-action-btn {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  font-weight: 600;
}

.installer-message {
  margin-top: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.8rem 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.installer-message-ok {
  background: rgba(70, 180, 120, 0.14);
  border-color: rgba(130, 232, 160, 0.36);
}

.installer-secondary-btn {
  margin-top: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.5rem 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.installer-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.installer-steps {
  margin-top: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem;
}

.installer-steps p {
  margin-bottom: 0.55rem;
}

.installer-steps ol {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 0.35rem;
}

.installer-help {
  text-align: center;
}

.installer-help p {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.installer-discord-btn {
  min-width: 240px;
}

@media (max-width: 980px) {
  .installer-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installer-device-card {
    min-height: 108px;
  }
}

@media (max-width: 780px) {
  .installer-shell {
    gap: 0.9rem;
  }

  .installer-benefit-grid {
    grid-template-columns: 1fr;
  }

  .installer-platform-panel {
    padding: 0.95rem;
  }

  .installer-action-btn,
  .installer-discord-btn,
  .installer-secondary-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .installer-device-title {
    font-size: 0.84rem;
  }

  .installer-device-icon {
    font-size: 1.6rem;
  }
}
