.page-home {
  --home-gap: clamp(52px, 8vw, 100px);
  overflow-x: clip;
}

.page-home .section {
  padding: var(--home-gap) 0;
}

.page-home .section--tight {
  padding-top: calc(var(--home-gap) * .7);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: 34px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 92% 4%, rgba(176, 114, 60, .16), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 74%, var(--paper-2) 100%);
}

.page-home .hero__deco {
  position: absolute;
  top: -.16em;
  right: -.04em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(180px, 44vw, 520px);
  line-height: .82;
  color: var(--ink-green);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  gap: 34px;
}

.page-home .hero__context {
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--copper-deep);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-home .hero .eyebrow {
  margin-bottom: 12px;
}

.page-home .hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.35rem, 9.6vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--ink-green);
  margin-bottom: 20px;
}

.page-home .hero__lead {
  max-width: 34em;
  color: var(--ink);
  line-height: 1.85;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero__media {
  margin: 0;
  position: relative;
}

.page-home .hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
  border-radius: var(--radius-soft);
  box-shadow: 0 26px 50px rgba(8, 31, 27, .18);
}

.page-home .hero__stats {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-stat__num {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  font-weight: 700;
  color: var(--ink-green);
  line-height: 1;
}

.page-home .hero-stat__plus {
  color: var(--copper);
  font-size: .7em;
}

.page-home .hero-stat__label {
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- 四条入口 ---------- */
.page-home .entry__title,
.page-home .city-band__title,
.page-home .flow__title,
.page-home .dash__title,
.page-home .log__title,
.page-home .start__title {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  font-size: clamp(1.6rem, 5.4vw, 2.6rem);
  color: var(--ink-green);
  margin-bottom: 16px;
}

.page-home .entry__intro {
  margin-bottom: 30px;
}

.page-home .tabs__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  scrollbar-width: thin;
}

.page-home .tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.page-home .tab__idx {
  font-size: .78rem;
  color: var(--copper-deep);
}

.page-home .tab[aria-selected="true"] {
  background: var(--ink-green);
  border-color: var(--ink-green);
  color: var(--paper);
}

.page-home .tab[aria-selected="true"] .tab__idx {
  color: var(--amber);
}

.page-home .tabs__panel {
  margin-top: 30px;
  animation: home-fade .26s ease both;
}

.page-home .panel-grid {
  display: grid;
  gap: 26px;
}

.page-home .panel-main h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-green);
  margin-bottom: 12px;
}

.page-home .panel-main p {
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 18px;
}

.page-home .tick-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .tick-list li {
  position: relative;
  padding-left: 22px;
  font-size: .96rem;
  color: var(--ink);
  line-height: 1.7;
}

.page-home .tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 3px 3px 3px 8px;
  background: var(--copper);
}

.page-home .panel-side {
  background: var(--paper-2);
  border-radius: var(--radius-leaf);
  padding: 24px 22px;
}

.page-home .panel-side__label {
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--copper-deep);
  margin-bottom: 10px;
}

.page-home .panel-side p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 14px;
}

.page-home .text-link {
  font-size: .92rem;
  color: var(--ink-green);
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 2px;
}

/* ---------- 城市编号带 ---------- */
.page-home .city-band {
  position: relative;
  background: var(--ink-green);
  color: var(--paper);
  overflow: hidden;
}

.page-home .city-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-home .city-band__inner {
  position: relative;
  padding: var(--home-gap) 0;
}

.page-home .eyebrow--onDark {
  color: var(--amber);
}

.page-home .city-band__title {
  color: var(--paper);
}

.page-home .city-band__lead {
  max-width: 36em;
  color: rgba(245, 239, 228, .82);
  line-height: 1.85;
}

.page-home .city-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.page-home .city-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-soft);
  background: rgba(8, 31, 27, .42);
}

.page-home .city-item__code {
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--amber);
}

.page-home .city-item__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}

.page-home .city-item__year {
  font-size: .78rem;
  color: rgba(245, 239, 228, .66);
}

/* ---------- 安装流程 ---------- */
.page-home .flow__grid {
  display: grid;
  gap: 32px;
}

.page-home .flow__media {
  margin: 0;
}

.page-home .flow__media .figure__frame img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: var(--radius-soft);
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
}

.page-home .flow__media .figure__cap {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
}

.page-home .step-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.page-home .step-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-home .step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .step-item__num {
  font-size: .84rem;
  color: var(--copper);
  letter-spacing: .06em;
  padding-top: .35em;
}

.page-home .step-item__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink-green);
  margin-bottom: 8px;
}

.page-home .step-item__body p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 概览 ---------- */
.page-home .dash__title {
  margin-bottom: 30px;
}

.page-home .dash__grid {
  display: grid;
  gap: 20px;
}

.page-home .dash-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-leaf);
  padding: 24px 22px;
}

.page-home .dash-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-green);
  margin-bottom: 18px;
}

.page-home .dash-card__note {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 16px;
}

.page-home .ring {
  position: relative;
  width: min(200px, 62%);
  margin: 0 auto;
}

.page-home .ring svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-90deg);
}

.page-home .ring__track,
.page-home .ring__seg {
  fill: none;
  stroke-width: 9;
}

.page-home .ring__track {
  stroke: var(--paper-2);
}

.page-home .ring__seg {
  stroke: var(--copper);
  stroke-linecap: butt;
  stroke-dasharray: 37 9.7;
}

.page-home .ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.page-home .ring__num {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink-green);
  line-height: 1;
}

.page-home .ring__unit {
  font-size: .8rem;
  color: var(--muted);
}

.page-home .bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .bar {
  display: grid;
  grid-template-columns: 48px 1fr 52px;
  align-items: center;
  gap: 12px;
}

.page-home .bar__label,
.page-home .bar__value {
  font-size: .8rem;
  color: var(--muted);
}

.page-home .bar__value {
  text-align: right;
}

.page-home .bar__track {
  display: block;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  overflow: hidden;
}

.page-home .bar__fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--ink-green);
}

.page-home .bar__fill--1 { width: 25%; }
.page-home .bar__fill--2 { width: 50%; }
.page-home .bar__fill--3 { width: 75%; }

.page-home .dash-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .dash-facts .mono {
  color: var(--copper-deep);
  font-weight: 700;
}

.page-home .dash-card--doc {
  display: flex;
  flex-direction: column;
}

.page-home .dash-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* ---------- 近期变化 ---------- */
.page-home .log__grid {
  display: grid;
  gap: 34px;
}

.page-home .log__head .prose {
  margin-bottom: 22px;
}

.page-home .log__timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--copper);
  display: grid;
  gap: 26px;
}

.page-home .log__timeline .timeline__item {
  position: relative;
}

.page-home .log__timeline .timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--paper);
}

.page-home .timeline__time {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--copper-deep);
  margin-bottom: 8px;
}

.page-home .log__timeline h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink-green);
  margin-bottom: 8px;
}

.page-home .log__timeline p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 预约 ---------- */
.page-home .start__box {
  background: linear-gradient(140deg, var(--ink-green) 0%, var(--ink-green-deep) 100%);
  border-radius: var(--radius-leaf);
  padding: 34px 24px;
  color: var(--paper);
  display: grid;
  gap: 28px;
}

.page-home .start__title {
  color: var(--paper);
}

.page-home .start__lead {
  color: rgba(245, 239, 228, .84);
  line-height: 1.85;
  max-width: 34em;
  margin-bottom: 22px;
}

.page-home .start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .start__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .start__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  font-size: .94rem;
  line-height: 1.75;
  color: rgba(245, 239, 228, .9);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-paper);
}

.page-home .start__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .start__list-k {
  color: var(--amber);
  font-size: .82rem;
  padding-top: .25em;
}

@keyframes home-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-home .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .start__box {
    padding: 48px 44px;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding-top: 46px;
  }

  .page-home .hero__inner {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: end;
  }

  .page-home .hero__copy {
    grid-column: 1 / span 7;
  }

  .page-home .hero__media {
    grid-column: 8 / span 5;
    margin-bottom: -8px;
  }

  .page-home .panel-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }

  .page-home .flow__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
  }

  .page-home .flow__media {
    grid-column: 1 / span 5;
    align-self: start;
  }

  .page-home .flow__steps {
    grid-column: 6 / span 7;
  }

  .page-home .dash__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .page-home .dash-card--ring {
    grid-column: 1 / span 4;
  }

  .page-home .dash-card--bars {
    grid-column: 5 / span 5;
  }

  .page-home .dash-card--doc {
    grid-column: 10 / span 3;
    margin-top: 46px;
  }

  .page-home .log__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
  }

  .page-home .log__head {
    grid-column: 1 / span 5;
  }

  .page-home .log__timeline {
    grid-column: 6 / span 7;
  }

  .page-home .start__box {
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .page-home .hero__title {
    font-size: clamp(3.4rem, 5vw, 5.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tabs__panel {
    animation: none;
  }
}
