:root {
  --page: #07111f;
  --page-2: #0a1628;
  --panel: rgba(15, 25, 39, 0.82);
  --panel-strong: rgba(20, 34, 53, 0.96);
  --line: rgba(116, 161, 226, 0.18);
  --line-strong: rgba(116, 161, 226, 0.36);
  --text: #f3f7ff;
  --muted: #aab7c9;
  --blue: #5aa2ff;
  --blue-2: #4d82ff;
  --green: #35e083;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(55, 119, 207, 0.24), transparent 34rem),
    radial-gradient(circle at 86% 28%, rgba(38, 106, 199, 0.18), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #07111f 44%, #0b1b30 100%);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,16,29,0.88), transparent 18%, transparent 82%, rgba(6,16,29,0.9)),
    radial-gradient(circle at 50% 0%, transparent, rgba(0,0,0,0.22) 72%);
}

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

button {
  font: inherit;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 92px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(116, 161, 226, 0.14);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: block;
}

.topNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: rgba(243, 247, 255, 0.82);
  font-weight: 800;
}

.topNav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.topNav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.consoleButton {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 8px;
  color: #06101d;
  background: linear-gradient(135deg, #72b7ff, #4d82ff);
  box-shadow: 0 16px 44px rgba(77, 130, 255, 0.28);
  font-weight: 900;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  min-height: 390px;
  padding: 0 0 clamp(26px, 5vw, 54px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.32rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.heroText p {
  max-width: 690px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.heroCard,
.panelIntro,
.installStrip article,
.helpGrid article,
.soonPanel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 38, 60, 0.9), rgba(13, 24, 39, 0.9));
  box-shadow: var(--shadow);
}

.heroCard {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.heroCard span {
  display: block;
  padding: 15px 16px;
  border: 1px solid rgba(116, 161, 226, 0.16);
  border-radius: 8px;
  color: #d8e4f5;
  background: rgba(9, 19, 32, 0.72);
  font-weight: 850;
}

.deviceTabs {
  position: sticky;
  top: 78px;
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 12px;
  margin-bottom: 34px;
  border: 1px solid rgba(116, 161, 226, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(16px);
}

.deviceTab {
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.deviceTab:hover {
  color: #fff;
  background: rgba(116, 161, 226, 0.08);
}

.deviceTab.isActive {
  color: #06101d;
  border-color: rgba(140, 191, 255, 0.66);
  background: linear-gradient(135deg, #7fc0ff, #5d94ff);
}

.tabPanel {
  display: none;
}

.tabPanel.isActive {
  display: block;
  position: relative;
}

.tabPanel.isActive::before {
  content: "";
  position: absolute;
  inset: -40px -24px auto;
  height: 360px;
  z-index: -1;
  pointer-events: none;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(90, 162, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 80% 8%, rgba(53, 224, 131, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(13, 24, 39, 0.36), transparent);
}

.panelIntro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.panelIntro p {
  margin-bottom: 0;
}

.clientLinks {
  display: grid;
  gap: 12px;
}

.clientLinks a,
.installActions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: #eaf3ff;
  background: rgba(22, 38, 60, 0.72);
  font-weight: 900;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.clientLinks a:first-child,
.installActions a:first-child {
  color: #06101d;
  border-color: rgba(140, 191, 255, 0.66);
  background: linear-gradient(135deg, #7fc0ff, #5d94ff);
}

.clientLinks a:hover,
.installActions a:hover {
  border-color: rgba(90, 162, 255, 0.78);
  transform: translateY(-1px);
}

.installStrip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.installStrip article {
  display: flex;
  min-height: 198px;
  flex-direction: column;
  padding: 20px;
}

.installStrip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.installStrip p {
  margin-bottom: 0;
}

.installActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.guideSection {
  scroll-margin-top: 160px;
  margin-top: clamp(44px, 8vw, 84px);
}

.sectionHead {
  max-width: 790px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.steps {
  display: grid;
  gap: clamp(36px, 7vw, 72px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.62fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding-bottom: clamp(34px, 6vw, 70px);
  border-bottom: 1px solid rgba(116, 161, 226, 0.16);
}

.step:nth-child(even) {
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 0.78fr);
}

.step:nth-child(even) .stepCopy {
  grid-column: 2;
}

.step:nth-child(even) .phoneShot,
.step:nth-child(even) .shotPair {
  grid-column: 1;
  grid-row: 1;
}

.stepNumber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(90, 162, 255, 0.48);
  border-radius: 8px;
  color: #a7d2ff;
  background: rgba(90, 162, 255, 0.12);
  font-weight: 950;
}

.stepCopy b {
  color: #f5f9ff;
}

.phoneShot {
  margin: 0;
}

.phoneShot img {
  display: block;
  width: min(100%, 390px);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compactShot img {
  width: min(100%, 330px);
}

.inlineShot img {
  width: min(100%, 340px);
}

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

.shotPair .phoneShot img {
  width: 100%;
}

.helpBlock {
  margin-top: 58px;
}

.helpGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.helpGrid article,
.soonPanel {
  padding: 24px;
}

.helpGrid h3 {
  font-size: 1.22rem;
}

.helpGrid p,
.soonPanel p {
  margin-bottom: 0;
}

.soonPanel {
  min-height: 300px;
}

@media (max-width: 980px) {
  .siteHeader {
    grid-template-columns: 1fr auto;
  }

  .topNav {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .panelIntro,
  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .step:nth-child(even) .stepCopy,
  .step:nth-child(even) .phoneShot,
  .step:nth-child(even) .shotPair {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    min-height: auto;
  }

  .installStrip,
  .helpGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .siteHeader {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding: 12px 14px;
  }

  .consoleButton {
    width: 44px;
    min-width: 44px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
  }

  .consoleButton span {
    color: #06101d;
    font-size: 1.08rem;
  }

  main {
    width: min(1180px, calc(100% - 22px));
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .deviceTabs {
    top: 68px;
    gap: 6px;
    padding: 8px;
  }

  .deviceTab {
    min-height: 42px;
    font-size: 0.95rem;
  }

  .panelIntro,
  .installStrip article,
  .helpGrid article,
  .soonPanel {
    padding: 18px;
  }

  .installActions,
  .shotPair {
    grid-template-columns: 1fr;
  }

  .phoneShot img {
    width: min(100%, 360px);
  }
}
