:root {
    --banana: #F5C518;
    --cream: #FFF9E6;
    --paper: #FFFFFF;
    --ink: #2B2B2B;
    --muted: #6E6E6E;
    --line: #1A1A1A;
    --blue: #E8F2FA;
    --blue-deep: #CFE4F5;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; }
  .nav-list { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
  .nav-list a { padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
  .nav-list a:hover { border-color: var(--banana); color: #000; }
  .nav-toggle { display: none; background: var(--banana); border: 2px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 700; cursor: pointer; }

  /* Hero */
  .hero {
    background: linear-gradient(140deg, var(--cream) 0%, #FFFFFF 55%, var(--blue) 100%);
    padding: 56px 0 64px; position: relative; overflow: hidden;
  }
  .hero::before {
    content: ""; position: absolute; width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(245,197,24,.28), transparent 68%);
    top: -120px; right: -80px; border-radius: 50%;
  }
  .hero::after {
    content: ""; position: absolute; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(207,228,245,.65), transparent 70%);
    bottom: -100px; left: -70px; border-radius: 50%;
  }
  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
  .hero-tag {
    display: inline-block; background: var(--banana); border: 2px solid var(--line);
    border-radius: 999px; padding: 5px 16px; font-size: 13px; font-weight: 700; margin-bottom: 18px;
  }
  .hero h1 { font-size: 42px; line-height: 1.25; font-weight: 900; margin-bottom: 18px; }
  .hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--banana) 62%); padding: 0 4px; }
  .hero-desc { font-size: 16px; color: var(--muted); max-width: 520px; margin-bottom: 26px; }
  .hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
  .hero-points li {
    background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 6px 14px; font-size: 13px; font-weight: 600;
  }
  .dl-group { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 13px 26px; font-weight: 700; font-size: 15px;
    border: 2px solid var(--line); transition: transform .18s, box-shadow .18s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .btn-primary { background: var(--banana); color: #1A1A1A; }
  .btn-ghost { background: #fff; color: var(--ink); }

  /* Hero magazine stack */
  .mag-stack { position: relative; height: 420px; }
  .mag-card {
    position: absolute; border-radius: var(--radius-lg); overflow: hidden;
    border: 3px solid var(--line); box-shadow: var(--shadow); background: #fff;
  }
  .mag-card img { width: 100%; height: 100%; object-fit: cover; }
  .mag-card-main { width: 62%; height: 88%; right: 6%; top: 0; z-index: 3; }
  .mag-card-back { width: 50%; height: 70%; left: 0; bottom: 0; z-index: 2; transform: rotate(-6deg); }
  .mag-card-small { width: 38%; height: 40%; left: 12%; top: 8%; z-index: 4; transform: rotate(6deg); }

  /* Section shell */
  section { padding: 70px 0; }
  .sec-head { max-width: 720px; margin-bottom: 36px; }
  .sec-kicker { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #B58E00; margin-bottom: 8px; }
  .sec-head h2 { font-size: 30px; font-weight: 900; line-height: 1.3; margin-bottom: 10px; }
  .sec-head p { color: var(--muted); font-size: 15px; }
  .band-cream { background: var(--cream); }
  .band-blue { background: var(--blue); }

  /* Masonry */
  .masonry {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start;
  }
  .polaroid {
    background: #fff; padding: 12px 12px 16px; border-radius: 6px;
    border: 1.5px solid var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.08);
    transition: transform .25s, box-shadow .25s;
  }
  .polaroid:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 16px 32px rgba(0,0,0,.14); }
  .polaroid img { width: 100%; border-radius: 3px; object-fit: cover; }
  .polaroid figcaption { font-size: 14px; font-weight: 700; margin-top: 10px; text-align: center; }
  .polaroid .p-tag { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 2px; }
  .polaroid:nth-child(1) img { aspect-ratio: 3/4; }
  .polaroid:nth-child(2) img { aspect-ratio: 4/5; }
  .polaroid:nth-child(3) img { aspect-ratio: 3/4; }
  .polaroid:nth-child(4) img { aspect-ratio: 5/6; }
  .polaroid:nth-child(5) img { aspect-ratio: 4/5; }
  .polaroid:nth-child(6) img { aspect-ratio: 3/4; }
  .polaroid:nth-child(7) img { aspect-ratio: 5/7; }
  .polaroid:nth-child(8) img { aspect-ratio: 3/4; }
  .polaroid:nth-child(odd) { margin-top: 26px; }

  /* Timeline */
  .timeline { position: relative; padding-left: 8px; }
  .timeline::before {
    content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px;
    width: 3px; background: var(--line); border-radius: 3px;
  }
  .tl-item { display: grid; grid-template-columns: 84px 1fr; gap: 26px; margin-bottom: 26px; }
  .tl-date { text-align: right; font-weight: 800; font-size: 14px; padding-top: 18px; }
  .tl-date span { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
  .tl-body {
    position: relative; background: #fff; border: 2px solid var(--line);
    border-radius: var(--radius-md); padding: 16px; display: flex; gap: 16px; align-items: flex-start;
  }
  .tl-body::before {
    content: ""; position: absolute; left: -32px; top: 26px; width: 12px; height: 12px;
    background: var(--banana); border: 3px solid var(--line); border-radius: 50%;
  }
  .tl-body img { width: 74px; height: 104px; object-fit: cover; border-radius: 10px; flex-shrink: 0; border: 1px solid #ddd; }
  .tl-body h3 { font-size: 17px; margin-bottom: 6px; }
  .tl-body p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
  .tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tl-tags span { background: var(--blue-deep); border-radius: 999px; padding: 2px 12px; font-size: 12px; font-weight: 600; }

  /* Gallery */
  .gallery-strip {
    display: flex; gap: 18px; overflow-x: auto; padding: 6px 0 18px; scroll-snap-type: x mandatory;
  }
  .gallery-strip::-webkit-scrollbar { height: 8px; }
  .gallery-strip::-webkit-scrollbar-thumb { background: var(--banana); border-radius: 999px; }
  .gallery-slide { flex: 0 0 auto; width: 300px; scroll-snap-align: start; }
  .gallery-slide img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-md); border: 2px solid var(--line); }
  .thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
  .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); }

  /* Split dashboard */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .panel {
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px; box-shadow: var(--shadow);
  }
  .panel h3 { font-size: 20px; margin-bottom: 8px; }
  .panel > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
  .wire-phone {
    border: 2px solid var(--line); border-radius: 22px; padding: 16px; background: var(--cream);
  }
  .wire-line { height: 9px; background: #fff; border: 1.5px solid #ddd; border-radius: 6px; margin-bottom: 9px; }
  .wire-line.w70 { width: 70%; }
  .wire-line.w90 { width: 90%; }
  .wire-line.w50 { width: 50%; }
  .wire-img { height: 110px; background: var(--blue-deep); border-radius: 12px; margin: 12px 0; border: 1.5px dashed #9bb; }
  .flow-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0; }
  .flow-dot {
    width: 62px; height: 62px; border-radius: 18px; border: 2px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
    background: var(--banana);
  }
  .flow-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
  .cloud-list li {
    display: flex; justify-content: space-between; font-size: 14px;
    padding: 9px 0; border-bottom: 1px dashed #ddd;
  }
  .cloud-list li:last-child { border-bottom: 0; }
  .cloud-list b { font-weight: 700; }
  .cloud-note { margin-top: 16px; font-size: 13px; color: var(--muted); background: var(--cream); border-radius: 14px; padding: 12px 14px; }

  /* Accordion */
  .capsule { margin-bottom: 14px; border: 2px solid var(--line); border-radius: 26px; background: #fff; overflow: hidden; }
  .capsule button {
    width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
    padding: 18px 24px; font-size: 16px; font-weight: 700; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit;
  }
  .capsule .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--banana); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .25s; }
  .capsule.open .chev { transform: rotate(45deg); }
  .capsule-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .capsule-body p { padding: 0 24px 20px; color: var(--muted); font-size: 14px; }

  /* Reviews */
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .review {
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius-md);
    padding: 22px; display: flex; flex-direction: column; gap: 12px;
  }
  .review-top { display: flex; align-items: center; gap: 12px; }
  .review-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; border: 2px solid var(--line); background: var(--cream); padding: 3px; }
  .review-top strong { display: block; font-size: 14px; }
  .review-top small { color: var(--muted); font-size: 12px; }
  .review p { font-size: 14px; color: #444; }

  /* Install */
  .install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .install-list li { display: flex; gap: 14px; margin-bottom: 18px; }
  .install-num {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--banana); border: 2px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  }
  .install-list h3 { font-size: 16px; margin-bottom: 4px; }
  .install-list p { font-size: 14px; color: var(--muted); }
  .device-card {
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px; box-shadow: var(--shadow);
  }
  .device-card h3 { font-size: 18px; margin-bottom: 8px; }
  .device-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
  .device-card .btn { width: 100%; margin-bottom: 12px; }
  .device-card .btn:last-child { margin-bottom: 0; }

  /* Footer */
  .site-footer { background: #1E1E1E; color: #EAEAEA; padding: 46px 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
  .footer-brand img { height: 30px; }
  .site-footer p { font-size: 13px; color: #B5B5B5; }
  .site-footer h4 { font-size: 14px; margin-bottom: 10px; color: #fff; }
  .site-footer li { font-size: 13px; color: #B5B5B5; margin-bottom: 6px; }
  .footer-bottom { border-top: 1px solid #3a3a3a; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: #8E8E8E; }

  /* Copy modal */
  .copy-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none;
    align-items: center; justify-content: center; padding: 20px; z-index: 100;
  }
  .copy-modal.show { display: flex; }
  .copy-box {
    background: #fff; border: 2px solid var(--line); border-radius: 24px;
    padding: 26px; max-width: 420px; width: 100%; text-align: center;
  }
  .copy-box h3 { font-size: 17px; margin-bottom: 14px; line-height: 1.5; }
  .copy-url {
    background: var(--cream); border: 1.5px dashed #bbb; border-radius: 12px;
    padding: 12px; font-size: 13px; word-break: break-all; margin-bottom: 16px;
  }
  .copy-box .btn { width: 100%; }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 34px; }
    .masonry { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .nav-list {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; flex-direction: column; gap: 0; padding: 10px 20px 18px;
      border-bottom: 2px solid var(--line);
    }
    .nav-list.open { display: flex; }
    .nav-list li { border-bottom: 1px dashed #eee; }
    .nav-list a { display: block; padding: 12px 0; }
    .nav-toggle { display: inline-block; }
    .hero { padding: 36px 0 44px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero h1 { font-size: 28px; }
    .mag-stack { height: 320px; }
    section { padding: 48px 0; }
    .sec-head h2 { font-size: 24px; }
    .masonry { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .polaroid:nth-child(odd) { margin-top: 0; }
    .polaroid:nth-child(even) { margin-top: 20px; }
    .timeline::before { left: 6px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 26px; position: relative; }
    .tl-date { text-align: left; padding-top: 0; }
    .tl-date span { display: inline; margin-left: 6px; }
    .tl-body::before { left: -26px; top: 22px; }
    .split { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .install-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-slide { width: 240px; }
  }