.page-home{
  --home-gap: clamp(18px, 3.5vw, 36px);
  --home-band: clamp(56px, 8vw, 104px);
  overflow-x: clip;
}

.page-home h1{
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--c-deep);
  margin: 12px 0 0;
}

.page-home h2{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.9vw, 2.05rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  margin: 0;
}

.page-home h3{
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-deep);
  margin: 0 0 10px;
}

.page-home p{
  line-height: 1.78;
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .hero{
  padding: clamp(26px, 5vw, 52px) 0 clamp(44px, 7vw, 88px);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(246,231,200,0.55), transparent 58%),
    var(--c-paper);
}

.page-home .hero__grid{
  display: grid;
  gap: var(--home-gap);
}

.page-home .hero__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-green);
}

.page-home .hero__kicker::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-red);
}

.page-home .hero__lead{
  margin-top: 18px;
  max-width: 36em;
  font-size: 1.01rem;
  color: var(--c-text);
}

.page-home .hero__lead .num,
.page-home .hero__fallnote .num{
  color: var(--c-deep);
  font-weight: 700;
}

.page-home .hero__note{
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--c-sand);
  font-size: 0.86rem;
  color: var(--c-blue);
}

.page-home .index-fall{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 26px;
}

.page-home .idx{
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 16px 17px;
  background: var(--c-mist);
  border-top: 2px solid var(--c-line);
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .idx:hover,
.page-home .idx:focus-visible{
  background: var(--c-sand-2);
  transform: translateY(-2px);
}

.page-home .idx__kind{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  color: var(--c-blue);
}

.page-home .idx__kind::before{
  content: "";
  width: 6px;
  height: 6px;
  background: var(--c-blue);
}

.page-home .idx__name{
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--c-deep);
}

.page-home .idx__meta{
  font-size: 0.78rem;
  color: var(--c-text);
  opacity: 0.85;
}

.page-home .idx__eg{
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--c-text);
  opacity: 0.7;
}

.page-home .idx--tag{
  background: var(--c-sand-2);
  border-top-color: var(--c-sand);
}

.page-home .idx--tag .idx__kind{
  color: var(--c-green);
}

.page-home .idx--tag .idx__kind::before{
  background: var(--c-green);
}

.page-home .idx--a{ min-height: 152px; }
.page-home .idx--b{ min-height: 112px; }
.page-home .idx--c{ min-height: 128px; }
.page-home .idx--d{ min-height: 98px; }
.page-home .idx--e{ min-height: 118px; }
.page-home .idx--f{ min-height: 142px; }
.page-home .idx--g{ min-height: 102px; }

.page-home .hero__fallnote{
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--c-text);
  opacity: 0.8;
}

.page-home .hero__visual{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .hero__stage{
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--c-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .flag-field{
  position: absolute;
  inset: -12%;
  background-image:
    repeating-linear-gradient(96deg, rgba(250,246,238,0.2) 0 5px, rgba(250,246,238,0) 5px 21px),
    conic-gradient(from 200deg at 32% 18%, #2A6FB0, #2C8C7D 22%, #F6E7C8 42%, #E4B45A 58%, #C0452F 76%, #2A6FB0 100%);
  background-size: auto, 180% 180%;
  animation: home-flag-drift 60s ease-in-out infinite alternate;
}

.page-home .hero__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hero__stamp{
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 2px;
  background: var(--c-sand);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .hero__stamp-in{
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  background: var(--c-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .hero__stamp-num{
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-sand);
}

.page-home .hero__stamp-label{
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--c-sand-2);
}

.page-home .hero__actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes home-flag-drift{
  from{ background-position: 0 0, 0% 50%; }
  to{ background-position: 44px 0, 100% 50%; }
}

/* ---------- 两步路径 ---------- */
.page-home .path{
  position: relative;
  margin-top: clamp(20px, 4vw, 44px);
  padding: clamp(54px, 8vw, 96px) 0 clamp(48px, 7vw, 84px);
  background: var(--c-mist);
  clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
}

.page-home .rhythm{
  list-style: none;
  margin: clamp(22px, 4vw, 38px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .rhythm__link{
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 18px;
  background: var(--c-paper);
  border-left: 4px solid var(--c-sand);
  color: var(--c-text);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .rhythm__node + .rhythm__node .rhythm__link{
  border-left-color: var(--c-green);
}

.page-home .rhythm__link:hover,
.page-home .rhythm__link:focus-visible{
  transform: translateY(-2px);
}

.page-home .rhythm__num{
  grid-row: 1 / span 2;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-deep);
}

.page-home .rhythm__node + .rhythm__node .rhythm__num{
  color: var(--c-green);
}

.page-home .rhythm__title{
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--c-deep);
}

.page-home .rhythm__hint{
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--c-text);
  opacity: 0.82;
}

.page-home .path__note{
  margin-top: 20px;
  max-width: 46em;
  font-size: 0.94rem;
  color: var(--c-ink);
}

.page-home .path__figure{
  margin: clamp(24px, 4vw, 42px) 0 0;
}

.page-home .path__figure img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 620;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .path__figure figcaption{
  margin-top: 10px;
  font-size: 0.79rem;
  color: var(--c-deep);
  opacity: 0.75;
}

/* ---------- 批次摘要 ---------- */
.page-home .batch{
  position: relative;
  overflow: hidden;
  padding: var(--home-band) 0;
  background: var(--c-paper);
}

.page-home .batch__texture{
  position: absolute;
  right: -8%;
  top: 6%;
  width: min(48%, 400px);
  height: auto;
  opacity: 0.2;
  pointer-events: none;
}

.page-home .batch__inner{
  position: relative;
}

.page-home .batch__grid{
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .batch__lede{
  max-width: 40em;
  font-size: 0.96rem;
  color: var(--c-text);
}

.page-home .batch__stats{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-line);
}

.page-home .batch__stats li{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 14px;
  background: var(--c-paper);
}

.page-home .batch__num{
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-deep);
}

.page-home .batch__cap{
  font-size: 0.77rem;
  color: var(--c-text);
  opacity: 0.82;
}

.page-home .batch__more{
  margin-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--c-line);
}

.page-home .batch__more summary{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-deep);
}

.page-home .batch__more summary::-webkit-details-marker{
  display: none;
}

.page-home .batch__more summary::after{
  content: "＋";
  margin-left: auto;
  color: var(--c-red);
  font-size: 1.05rem;
}

.page-home .batch__more[open] summary::after{
  content: "－";
}

.page-home .dist{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.page-home .dist th,
.page-home .dist td{
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  font-weight: 400;
  color: var(--c-text);
}

.page-home .dist thead th{
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-deep);
  font-weight: 600;
}

.page-home .dist td.num,
.page-home .dist thead th:not(:first-child),
.page-home .dist tfoot td.num{
  text-align: right;
  width: 72px;
  font-weight: 700;
  color: var(--c-deep);
}

.page-home .dist tfoot th{
  font-weight: 700;
  color: var(--c-deep);
}

.page-home .batch__more-foot{
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--c-text);
}

.page-home .batch__more-foot .num{
  font-weight: 700;
  color: var(--c-green);
}

/* ---------- iOS 工具 ---------- */
.page-home .ios{
  padding: var(--home-band) 0;
  background: var(--c-deep);
  color: var(--c-sand-2);
}

.page-home .ios h2{
  color: var(--c-paper);
}

.page-home .ios .section-band__num{
  color: var(--c-sand);
}

.page-home .ios p{
  color: rgba(250, 246, 238, 0.86);
  font-size: 0.95rem;
}

.page-home .ios__grid{
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .ios__checks{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-home .ios__checks li{
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(250, 246, 238, 0.9);
}

.page-home .ios__checks li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--c-sand);
  transform: rotate(45deg);
}

.page-home .ios__checks strong{
  color: var(--c-sand);
  font-weight: 700;
}

.page-home .ios__foot{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 246, 238, 0.22);
}

.page-home .ios .btn{
  margin-top: 22px;
}

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

.page-home .ios__figure img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .ios__figure figcaption{
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.7);
}

/* ---------- 订阅与下载 ---------- */
.page-home .flow{
  padding: var(--home-band) 0;
  background: var(--c-paper);
}

.page-home .flow__grid{
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .flow__card{
  padding: clamp(20px, 3vw, 32px);
  background: var(--c-mist);
}

.page-home .flow__card--sand{
  background: var(--c-sand-2);
}

.page-home .flow__card p{
  font-size: 0.92rem;
  color: var(--c-text);
}

.page-home .flow__list{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .flow__list li{
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--c-ink);
}

.page-home .flow__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--c-blue);
}

.page-home .flow__card--sand .flow__list li::before{
  background: var(--c-red);
}

.page-home .flow__card .btn{
  margin-top: 20px;
}

.page-home .flow__stats{
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 0.85rem;
  color: var(--c-text);
}

.page-home .flow__stats .num{
  font-weight: 700;
  color: var(--c-deep);
}

/* ---------- 品牌节奏 ---------- */
.page-home .creed{
  padding: var(--home-band) 0 calc(var(--home-band) + 8px);
  background: linear-gradient(180deg, var(--c-paper), var(--c-mist));
}

.page-home .creed__grid{
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .creed__text p{
  margin-top: 16px;
  max-width: 40em;
  font-size: 0.95rem;
  color: var(--c-text);
}

.page-home .creed__ridge{
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 22px 0 0;
  color: rgba(42, 111, 176, 0.28);
}

.page-home .creed__ridge path{
  fill: currentColor;
}

.page-home .creed__links{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.page-home .creed__links a{
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--c-sand);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .creed__links a:hover,
.page-home .creed__links a:focus-visible{
  color: var(--c-green);
  border-bottom-color: var(--c-green);
}

.page-home .creed__facts{
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--c-line);
}

.page-home .creed__facts > div{
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--c-paper);
}

.page-home .creed__facts dt{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--c-green);
}

.page-home .creed__facts dd{
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--c-text);
}

.page-home .creed__facts .num{
  font-weight: 700;
  color: var(--c-deep);
}

/* ---------- 断点 ---------- */
@media (min-width: 560px){
  .page-home .index-fall{
    grid-template-columns: 1fr 1fr;
  }

  .page-home .hero__actions{
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-home .hero__actions .btn{
    flex: 1 1 auto;
  }

  .page-home .batch__stats{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 840px){
  .page-home .rhythm{
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }

  .page-home .rhythm__node{
    position: relative;
    flex: 1 1 0;
  }

  .page-home .rhythm__node + .rhythm__node{
    margin-left: 14px;
  }

  .page-home .rhythm__link{
    height: 100%;
    border-left: 0;
    border-top: 4px solid var(--c-sand);
  }

  .page-home .rhythm__node + .rhythm__node .rhythm__link{
    border-top-color: var(--c-green);
  }

  .page-home .rhythm__num{
    font-size: 2.3rem;
  }
}

@media (min-width: 900px){
  .page-home .hero__grid{
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: clamp(26px, 3.5vw, 48px);
  }

  .page-home .hero__stage{
    min-height: 520px;
  }

  .page-home .batch__grid{
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .ios__grid{
    grid-template-columns: 6fr 5fr;
    align-items: center;
  }

  .page-home .flow__grid{
    grid-template-columns: 1fr 1fr;
  }

  .page-home .creed__grid{
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

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

  .page-home .idx,
  .page-home .rhythm__link,
  .page-home .creed__links a{
    transition: none;
  }

  .page-home .idx:hover,
  .page-home .idx:focus-visible,
  .page-home .rhythm__link:hover,
  .page-home .rhythm__link:focus-visible{
    transform: none;
  }
}
