:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --bg-soft: #101318;
  --panel: rgba(18, 21, 27, 0.8);
  --panel-soft: rgba(255, 255, 255, 0.032);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(246, 244, 239, 0.96);
  --text-soft: rgba(220, 212, 195, 0.72);
  --text-muted: rgba(220, 212, 195, 0.56);
  --accent: #f1ca56;
  --shadow-xl: 0 36px 100px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.28);
  --radius-2xl: 40px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-ui: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SF Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background:
    linear-gradient(180deg, rgba(241, 202, 86, 0.05) 0%, rgba(241, 202, 86, 0) 18%),
    linear-gradient(180deg, #090b0e 0%, #0b0d11 32%, #101318 100%);
  color: var(--text);
}

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

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

code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #f5df95;
}

.site-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.78);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.06;
}

.brand-copy span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.topnav a:hover {
  color: var(--text);
}

.hero,
.section,
.footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.96fr);
  gap: 34px;
  padding: 44px;
  border-radius: 42px;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-head h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11em;
  font-size: 54px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-text {
  max-width: 47ch;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.92;
  color: var(--text-soft);
}

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

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  color: #18191d;
  background: linear-gradient(180deg, #f6d874 0%, var(--accent) 100%);
  box-shadow: 0 18px 38px rgba(241, 202, 86, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-notes {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric,
.feature-panel,
.install-panel,
.manual-step,
.side-card,
.info-panel,
.faq-item {
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.metric {
  padding: 18px 18px 16px;
  border-radius: 22px;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.metric span {
  display: block;
  font-size: 12px;
  line-height: 1.72;
  color: var(--text-soft);
}

.hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-stage {
  position: relative;
  width: 100%;
  min-height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-main {
  left: 52px;
  top: 92px;
  width: 240px;
  height: 520px;
}

.shot-top {
  right: 40px;
  top: 52px;
  width: 188px;
  height: 276px;
}

.shot-bottom {
  right: 34px;
  bottom: 52px;
  width: 214px;
  height: 300px;
}

.section {
  margin-top: 22px;
  padding: 34px;
  border-radius: 34px;
}

.section-soft {
  background: rgba(18, 21, 27, 0.72);
}

.section-head {
  margin-bottom: 26px;
}

.section-head.left-align {
  margin-bottom: 20px;
}

.section-head h2 {
  max-width: 14em;
  font-size: 36px;
  line-height: 1.14;
  font-weight: 800;
}

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

.feature-panel,
.install-panel,
.info-panel {
  padding: 24px;
  border-radius: 24px;
}

.feature-panel h3,
.install-panel h3,
.manual-step h3,
.side-card h3,
.info-panel h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.32;
}

.feature-panel p,
.install-panel p,
.manual-step p,
.side-card li,
.info-panel p,
.faq-item p,
.step-list li,
.bullet-list li {
  margin: 0;
  font-size: 13px;
  line-height: 1.88;
  color: var(--text-soft);
}

.install-panel {
  display: grid;
  gap: 18px;
}

.install-kicker {
  display: inline-flex;
  align-items: center;
  align-self: start;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(241, 202, 86, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.step-list,
.bullet-list {
  margin: 0;
  padding-left: 18px;
}

.step-list li + li,
.bullet-list li + li {
  margin-top: 8px;
}

.manual-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 18px;
  margin-top: 20px;
}

.manual-flow,
.manual-side,
.info-stack,
.faq-list {
  display: grid;
  gap: 14px;
}

.manual-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(241, 202, 86, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.side-card {
  padding: 22px;
  border-radius: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 18px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 30px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
}

.footer span,
.footer p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-soft);
}

[data-pending="true"] {
  opacity: 0.9;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    min-height: 620px;
  }
}

@media (max-width: 1080px) {
  .feature-grid,
  .install-grid,
  .manual-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 14px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 26px;
  }

  .topnav {
    gap: 12px 16px;
  }

  .hero,
  .section,
  .footer {
    padding: 22px;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .showcase-stage {
    min-height: 560px;
  }

  .shot-main {
    left: 20px;
    top: 110px;
    width: 180px;
    height: 392px;
  }

  .shot-top {
    right: 18px;
    top: 28px;
    width: 150px;
    height: 220px;
  }

  .shot-bottom {
    right: 16px;
    bottom: 26px;
    width: 170px;
    height: 236px;
  }

  .manual-step {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
