:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-strong: #efe8dd;
  --surface: #fffdf8;
  --surface-muted: #f1eee7;
  --ink: #17201c;
  --muted: #65706b;
  --line: #d9d0c3;
  --green: #1f6f58;
  --green-dark: #124436;
  --blue: #2366a8;
  --coral: #d7673f;
  --gold: #aa7a21;
  --shadow: 0 24px 60px rgba(23, 32, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(23, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 28, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 70%);
}

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

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(217, 208, 195, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff8eb;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(31, 111, 88, 0.1);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 56px 0 34px;
}

.hero-grid,
.section-inner,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
.display-copy {
  font-family: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 4.45rem;
  max-width: 880px;
}

h2 {
  margin: 0;
  font-size: 2.7rem;
}

h3 {
  margin: 0;
  font-size: 1.32rem;
}

p {
  margin: 0;
}

.hero-copy {
  color: #3e4944;
  font-size: 1.12rem;
  max-width: 760px;
  margin: 22px 0 0;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 760;
  line-height: 1.2;
}

.button.primary {
  background: var(--ink);
  color: #fff8eb;
  box-shadow: 0 14px 30px rgba(23, 32, 28, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.65);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(217, 208, 195, 0.9);
  color: #40504a;
  font-size: 0.88rem;
}

.visual-stack {
  position: relative;
  min-height: 610px;
}

.phone {
  position: absolute;
  right: 44px;
  top: 6px;
  width: 286px;
  aspect-ratio: 0.49;
  border: 10px solid #121816;
  border-radius: 42px;
  background: #faf7ef;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  background: #121816;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 52px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.screen-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.screen-title strong {
  font-size: 1.08rem;
}

.screen-title span {
  color: var(--green);
  font-weight: 760;
  font-size: 0.85rem;
}

.timeline-tabs,
.mini-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.timeline-tabs span,
.mini-tabs span {
  min-width: 0;
  text-align: center;
  border: 1px solid rgba(217, 208, 195, 0.9);
  border-radius: 6px;
  padding: 4px 3px;
  color: #55635d;
  font-size: 0.72rem;
}

.timeline-tabs span:first-child,
.mini-tabs span:first-child {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

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

.photo-tile {
  min-height: 58px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 42%),
    var(--tile-color, #d4ae72);
  position: relative;
  overflow: hidden;
}

.photo-tile::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.photo-tile.tall {
  grid-row: span 2;
  min-height: 122px;
}

.clean-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  padding: 10px;
}

.clean-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  font-size: 0.78rem;
  color: #52605a;
}

.meter {
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: #ebe3d8;
  overflow: hidden;
}

.meter span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--coral));
}

.floating-panel {
  position: absolute;
  border: 1px solid rgba(217, 208, 195, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 20px 46px rgba(23, 32, 28, 0.14);
  backdrop-filter: blur(12px);
}

.map-panel {
  left: 0;
  top: 98px;
  width: 250px;
  padding: 18px;
}

.map-canvas {
  height: 180px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(35, 102, 168, 0.2) 48%, rgba(35, 102, 168, 0.2) 52%, transparent 53%),
    linear-gradient(30deg, transparent 42%, rgba(31, 111, 88, 0.18) 43%, rgba(31, 111, 88, 0.18) 47%, transparent 48%),
    linear-gradient(150deg, #d8eadf 0 34%, #e8d7b9 35% 55%, #cfe0ed 56% 72%, #e9efe2 73%);
  position: relative;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(215, 103, 63, 0.18);
}

.pin.one {
  left: 28%;
  top: 32%;
}

.pin.two {
  right: 22%;
  top: 52%;
}

.pin.three {
  left: 48%;
  bottom: 22%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(35, 102, 168, 0.18);
}

.map-label {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.storage-panel {
  right: 0;
  bottom: 42px;
  width: 284px;
  padding: 17px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.stat strong {
  display: block;
  font-size: 1.08rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--bg-strong);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-header p {
  max-width: 560px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.product-card {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 12px 36px rgba(23, 32, 28, 0.06);
}

.product-card.featured {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(31, 111, 88, 0.14), transparent 46%),
    var(--surface);
}

.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-card p {
  color: #4b5852;
}

.card-link {
  color: var(--green-dark);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-item {
  border-top: 3px solid var(--green);
  background: rgba(255, 253, 248, 0.68);
  padding: 16px 0 0;
}

.feature-item:nth-child(2n) {
  border-color: var(--blue);
}

.feature-item:nth-child(3n) {
  border-color: var(--coral);
}

.feature-item strong {
  display: block;
  margin-bottom: 6px;
}

.feature-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.copy-block {
  position: sticky;
  top: 112px;
}

.copy-block p {
  margin-top: 16px;
  color: var(--muted);
}

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

.module {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.module p {
  margin-top: 10px;
  color: #4d5a54;
}

.module ul,
.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.module li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: #4d5a54;
}

.module li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

.band-item {
  min-height: 230px;
  border-radius: 8px;
  padding: 22px;
  color: white;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.band-item:nth-child(2) {
  background: #204b7a;
}

.band-item:nth-child(3) {
  background: #823e25;
}

.band-item p {
  color: rgba(255, 255, 255, 0.78);
}

.timeline-demo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.timeline-mode {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  min-height: 190px;
}

.timeline-mode strong {
  display: block;
  margin-bottom: 12px;
}

.mode-bars {
  display: grid;
  gap: 7px;
}

.mode-bars i {
  display: block;
  height: var(--h, 18px);
  border-radius: 5px;
  background: var(--c, #c9b08b);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: #4d5a54;
  margin-top: 10px;
}

.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(170, 122, 33, 0.16), transparent 38%),
    var(--surface);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.download-panel p {
  color: var(--muted);
  margin-top: 10px;
}

.simple-page {
  padding: 82px 0 96px;
}

.simple-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.info-panel p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #141b18;
  color: #fff8eb;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255, 248, 235, 0.72);
}

.footer-inner strong {
  color: #fff8eb;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .simple-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 560px;
  }

  .phone {
    right: 20px;
  }

  .product-grid,
  .feature-list,
  .wide-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .timeline-demo {
    grid-template-columns: repeat(3, 1fr);
  }

  .copy-block {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-grid,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .visual-stack {
    min-height: 620px;
  }

  .phone {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(282px, 88vw);
  }

  .map-panel {
    top: 390px;
    width: min(248px, 82vw);
  }

  .storage-panel {
    right: 0;
    bottom: 0;
    width: min(276px, 84vw);
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 14px;
  }

  .product-grid,
  .feature-list,
  .module-grid,
  .wide-band,
  .timeline-demo,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel {
    padding: 24px;
  }
}
