:root {
  --bg: #f7f7f5;
  --fg: #17181a;
  --muted: #5f6368;
  --card: #ffffff;
  --border: #e3e3df;
  --accent: #3b6ef6;
  --accent-fg: #ffffff;
  --map-bg: #f3f1ea;
  --map-road: #e4e0d4;
  --map-green: #dbe8d4;
  --map-building: #e8e4da;
  --shadow: 0 10px 30px rgba(20, 20, 25, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --fg: #ececed;
    --muted: #9a9da2;
    --card: #1b1c1f;
    --border: #2a2c30;
    --accent: #6d95ff;
    --accent-fg: #0c1020;
    --map-bg: #1a1b1e;
    --map-road: #26282c;
    --map-green: #1f2a22;
    --map-building: #232529;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font-family: Menlo, Consolas, monospace; font-size: 0.88em; background: color-mix(in srgb, var(--fg) 7%, transparent); padding: 0.12em 0.36em; border-radius: 5px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 5vw, 48px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); font-size: 14px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--fg); }
.nav .ghost { padding: 5px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--fg); }

.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 5vw, 48px) clamp(32px, 6vw, 72px);
  max-width: 1180px; margin: 0 auto;
}
.eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; letter-spacing: -0.025em; }
.lead { margin: 0 0 26px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.button { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; font-size: 15px; font-weight: 550; background: var(--card); }
.button:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.button.primary { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.badges li { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

.hero-visual { perspective: 1200px; }
.mock {
  position: relative; aspect-ratio: 600 / 420; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--map-bg);
}
.mock-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #e5484d; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transform: translate(-50%, -50%); }
.mock-popup {
  position: absolute; left: 46%; top: 20%; width: 200px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
  font-size: 12.5px;
}
.mock-popup strong { display: block; font-size: 14px; margin-bottom: 3px; }
.mock-popup .meta { color: var(--muted); font-size: 11.5px; }
.mock-popup .visit { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 11.5px; }
.mock-popup .visit i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mock-popup .visit span { margin-left: auto; color: var(--accent); }
.mock-side {
  position: absolute; right: 10px; top: 10px; bottom: 10px; width: 132px;
  background: color-mix(in srgb, var(--card) 92%, transparent); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px; font-size: 11.5px; backdrop-filter: blur(4px);
}
.side-tab { display: inline-block; padding: 2px 7px; border-radius: 5px; color: var(--muted); }
.side-tab.on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.mock-side .row { display: flex; gap: 6px; align-items: flex-start; margin-top: 9px; color: var(--fg); }
.mock-side .row b { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.mock-side em { display: block; font-style: normal; color: var(--muted); font-size: 10.5px; }

.section { max-width: 1080px; margin: 0 auto; padding: clamp(44px, 7vw, 88px) clamp(16px, 5vw, 48px); }
.section.alt { max-width: none; background: color-mix(in srgb, var(--fg) 3%, var(--bg)); border-block: 1px solid var(--border); }
.section.alt > * { max-width: 1080px; margin-inline: auto; }
h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.02em; margin: 0 0 10px; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 62px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.steps b { display: block; margin-bottom: 3px; }
.steps span { color: var(--muted); font-size: 14px; }

.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.install-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.install-card h3 { margin: 0 0 10px; font-size: 16px; }
.install-card ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.install-card li { margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 13px; }
.note { padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: 14px; }

details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 550; font-size: 15px; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.cta-final { text-align: center; padding: clamp(48px, 8vw, 96px) 16px; }
.cta-final h2 { margin-bottom: 20px; }

footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 24px clamp(16px, 5vw, 48px); border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .nav nav a:not(.ghost) { display: none; }
}
