:root {
  color-scheme: light dark;
  --bg: #080b13;
  --bg-soft: #0f1524;
  --text: #f7f9fc;
  --muted: #b8c4d7;
  --accent: #76b3ff;
  --accent-strong: #2a7fff;
  --card-border: rgba(127, 165, 224, 0.24);
  --card-bg: rgba(14, 20, 33, 0.68);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #060911 0%, #0a1020 55%, #0d1730 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--accent);
}

.container {
  width: min(1050px, calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 380px;
  height: 380px;
  background: #4b8dff;
  top: -140px;
  right: -120px;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: #4ac7f8;
  bottom: -100px;
  left: -80px;
}

.hero {
  padding: 1rem 0 4rem;
  border-bottom: 1px solid rgba(70, 95, 140, 0.35);
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 121, 231, 0.25) 0%, transparent 42%),
    radial-gradient(circle at 100% 10%, rgba(63, 175, 255, 0.18) 0%, transparent 38%);
}

.nav {
  width: min(1050px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8dd0ff, #2f7dff);
  box-shadow: 0 0 0 4px rgba(83, 145, 240, 0.2);
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(117, 164, 240, 0.12);
}

.hero-content {
  width: min(780px, calc(100% - 2rem));
  margin: 4rem auto 0;
}

.hero-panel {
  padding: 2.2rem;
}

.eyebrow {
  color: #9fb5da;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.hero-chips span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #c9dcfa;
  border: 1px solid rgba(132, 170, 228, 0.35);
  background: rgba(35, 56, 93, 0.32);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.08rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, #3f93ff, var(--accent-strong));
  color: white;
  box-shadow: 0 10px 24px rgba(44, 119, 255, 0.32);
}

.btn.ghost {
  border-color: #415677;
  color: var(--text);
  background: rgba(45, 63, 92, 0.22);
}

.note {
  margin-top: 1rem;
  color: #a5b5cb;
  font-size: 0.92rem;
}

.section {
  padding: 3.2rem 0 0.2rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 1.05rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card-icon {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: rgba(69, 120, 206, 0.25);
  border: 1px solid rgba(108, 158, 240, 0.35);
}

.install-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(260px, 740px);
}

.ui-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(128, 160, 209, 0.35);
  background: rgba(0, 0, 0, 0.18);
}

.shot-open {
  all: unset;
  cursor: zoom-in;
  display: block;
  width: 100%;
}

.shot figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.86);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.visible {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  border: 1px solid rgba(163, 190, 237, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(142, 170, 219, 0.32);
  background: rgba(16, 24, 40, 0.78);
  color: #eef4ff;
  border-radius: 12px;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.install-hint {
  margin: 0 0 0.9rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(108, 158, 240, 0.3);
  background: rgba(36, 58, 98, 0.28);
}

pre {
  background: #0b111d;
  border: 1px solid #213046;
  border-radius: 10px;
  padding: 0.8rem;
  overflow-x: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
}

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

.prereq-dropdown {
  margin: 0.8rem 0 0.4rem;
  border: 1px solid #3a4f77;
  border-radius: 10px;
  background: rgba(12, 20, 36, 0.55);
  padding: 0.55rem 0.7rem;
}

.prereq-dropdown summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.prereq-dropdown[open] summary {
  margin-bottom: 0.55rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.step span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  background: #1e2a42;
  border: 1px solid #334e78;
  color: #d6e5ff;
  flex: 0 0 auto;
}

.step p {
  margin: 0;
}

.footer {
  margin-top: 3.5rem;
  border-top: 1px solid #1a2336;
  padding: 1.2rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-panel {
    padding: 1.35rem;
  }
}
