.page-home {
  --home-title-main: clamp(3.6rem, 13vw, 8.75rem);
  --home-title-sub: clamp(2.6rem, 8.5vw, 5.5rem);
  --home-section-space: clamp(56px, 9vw, 110px);
  overflow-x: hidden;
  background: var(--space-blue);
  color: var(--rice);
}

.page-home .green {
  color: var(--signal);
  font-weight: 700;
}
.page-home .orange {
  color: var(--orange);
  font-weight: 700;
}

/* ===== HERO ===== */
.page-home .hero-lockup {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  border-bottom: var(--border-w) solid var(--line-strong);
  overflow: hidden;
}
.page-home .hero-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.page-home .hero-round {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(244, 240, 232, 0.7);
}
.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--terra);
  margin-bottom: 28px;
  background: rgba(166, 106, 78, 0.08);
}
.page-home .hero-title {
  margin: 0 0 28px;
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.page-home .hero-kicker {
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--signal);
  margin-bottom: 20px;
}
.page-home .hero-cn-main {
  display: block;
  font-size: var(--home-title-main);
  color: var(--rice);
}
.page-home .hero-cn-sub {
  display: block;
  font-size: var(--home-title-sub);
  color: var(--signal);
  text-shadow: var(--glow);
}
.page-home .hero-desc {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(244, 240, 232, 0.78);
  margin: 0 0 28px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.page-home .btn-arrow-mark {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
  font-size: 1.1em;
  margin-left: 4px;
}
.page-home .btn:hover .btn-arrow-mark,
.page-home .btn:focus-visible .btn-arrow-mark {
  transform: translateX(4px);
}
.page-home .download-hint {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(46, 59, 78, 0.4);
  max-width: 420px;
}
.page-home .download-hint summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--rice);
  outline-offset: 2px;
}
.page-home .download-hint summary::-webkit-details-marker {
  display: none;
}
.page-home .hint-caret {
  font-family: var(--font-data);
  color: var(--signal);
  font-size: 18px;
  transition: transform var(--t-fast) var(--ease);
}
.page-home .download-hint[open] .hint-caret {
  transform: rotate(45deg);
}
.page-home .hint-body {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}
.page-home .hint-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.7);
}
.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.page-home .meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .meta-num {
  font-family: var(--font-data);
  font-size: 1.65rem;
  color: var(--signal);
  line-height: 1;
}
.page-home .meta-label {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.6);
}
.page-home .hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-home .hero-figure {
  position: relative;
  margin: 0;
  border: var(--border-w) solid var(--line-strong);
  box-shadow: var(--shadow-hard);
  background: var(--rock);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(1.08);
}
.page-home .hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--rice);
  background: linear-gradient(90deg, var(--space-blue), rgba(11, 30, 63, 0.75));
  border-top: 1px solid var(--signal);
}
.page-home .hero-rail {
  display: grid;
  gap: 12px;
}
.page-home .rail-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--rock);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
}
.page-home .rail-index {
  font-size: 13px;
  color: var(--terra);
}
.page-home .rail-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 120px;
}
.page-home .rail-value {
  font-family: var(--font-data);
  font-size: 2rem;
  color: var(--signal);
  line-height: 1;
}
.page-home .rail-value.orange {
  color: var(--orange);
}
.page-home .rail-unit {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.65);
}
.page-home .rail-label {
  margin-left: auto;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.68);
  text-align: right;
}
.page-home .scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(244, 240, 232, 0.5);
}
.page-home .scroll-line {
  width: 1px;
  height: 36px;
  background: var(--signal);
  animation: page-home-scroll-pulse 2s var(--ease) infinite;
}
@keyframes page-home-scroll-pulse {
  0%, 100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* ===== QUICK STRIP ===== */
.page-home .quick-strip {
  display: flex;
  overflow-x: auto;
  border-bottom: var(--border-w) solid var(--line-strong);
  background: var(--space-blue-2);
  scrollbar-width: none;
}
.page-home .quick-strip::-webkit-scrollbar {
  display: none;
}
.page-home .strip-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 0 auto;
  padding: 16px clamp(16px, 3vw, 28px);
  border-right: 1px solid var(--line);
  color: var(--rice);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.page-home .strip-link:hover,
.page-home .strip-link:focus-visible {
  background: var(--signal);
  color: var(--space-blue);
}
.page-home .strip-index {
  font-size: 13px;
  color: var(--terra);
  transition: color var(--t-fast) var(--ease);
}
.page-home .strip-link:hover .strip-index,
.page-home .strip-link:focus-visible .strip-index {
  color: var(--space-blue);
}

/* ===== SECTION HEAD ===== */
.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.page-home .section-no {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--terra);
  font-weight: 800;
}
.page-home .section-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-home .section-titles h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--rice);
}
.page-home .section-desc {
  margin: 0;
  font-size: 14px;
  color: rgba(244, 240, 232, 0.6);
}
.page-home .section-src {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--signal);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

/* ===== DOWNLOAD ZONE ===== */
.page-home .download-zone {
  padding: var(--home-section-space) 0;
}
.page-home .download-layout {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}
.page-home .lead-copy {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
  color: var(--rice);
  max-width: 560px;
  margin-bottom: 24px;
}
.page-home .feature-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-home .feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.78);
}
.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--signal);
  border-radius: 2px;
}
.page-home .cal-tracking {
  background: var(--space-blue-deep);
  border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-hard);
}
.page-home .cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.page-home .cal-title {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--signal);
}
.page-home .cal-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.75);
}
.page-home .cal-bars {
  display: grid;
  gap: 12px;
}
.page-home .cal-row {
  display: grid;
  grid-template-columns: 48px 1fr 64px;
  align-items: center;
  gap: 12px;
}
.page-home .cal-round {
  font-size: 14px;
  color: var(--terra);
}
.page-home .cal-track {
  height: 12px;
  background: rgba(244, 240, 232, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.page-home .cal-fill {
  display: block;
  height: 100%;
  background: var(--moss);
  border-radius: 999px;
}
.page-home .cal-fill.fill-full {
  width: 100%;
}
.page-home .cal-fill.fill-current {
  width: 42%;
  background: var(--orange);
}
.page-home .cal-row.is-current .cal-round {
  color: var(--orange);
  font-weight: 700;
}
.page-home .cal-state {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.6);
  text-align: right;
}
.page-home .cal-footnote {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 240, 232, 0.5);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ===== DASHBOARD ===== */
.page-home .dashboard-zone {
  padding: var(--home-section-space) 0;
  background: var(--space-blue-deep);
  border-block: var(--border-w) solid var(--line);
}
.page-home .dash-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.page-home .dash-card {
  background: var(--space-blue);
  border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.page-home .dash-card:hover,
.page-home .dash-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.4);
}
.page-home .dash-media {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-home .dash-media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .dash-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.page-home .dash-content {
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.page-home .dash-content h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: var(--rice);
}
.page-home .dash-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.7);
}
.page-home .dash-output {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .output-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  background: var(--rock);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  font-size: 14px;
}
.page-home .output-row:nth-child(2) {
  border-left-color: var(--signal);
}
.page-home .output-label {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.55);
}
.page-home .output-val {
  font-family: var(--font-data);
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}
.page-home .output-row:nth-child(2) .output-val {
  color: var(--signal);
}
.page-home .output-unit {
  font-size: 12px;
  color: rgba(244, 240, 232, 0.55);
}
.page-home .dash-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.page-home .dash-card:hover .dash-extra,
.page-home .dash-card:focus-within .dash-extra {
  max-height: 120px;
}
.page-home .extra-note {
  font-size: 13px;
  padding: 12px 14px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  color: var(--rice);
  background: rgba(230, 57, 70, 0.08);
}
.page-home .mini-table {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.page-home .mt-row {
  display: grid;
  grid-template-columns: 1fr 56px 1.4fr;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--rock);
  border-radius: var(--radius);
  border-left: 2px solid var(--signal);
}
.page-home .mt-head {
  background: transparent;
  border-left-color: transparent;
  color: rgba(244, 240, 232, 0.55);
  font-size: 12px;
}
.page-home .dash-banner {
  margin-top: 28px;
  border: var(--border-w) solid var(--signal);
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.1), rgba(11, 30, 63, 0.2));
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
}
.page-home .banner-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-home .banner-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--signal);
}
.page-home .banner-text {
  margin: 0;
  color: var(--rice);
  line-height: 1.7;
  max-width: 780px;
}
.page-home .banner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.page-home .banner-link:hover,
.page-home .banner-link:focus-visible {
  color: var(--signal);
}

/* ===== FORM ZONE ===== */
.page-home .form-zone {
  padding: var(--home-section-space) 0;
}
.page-home .form-layout {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}
.page-home .form-figure {
  margin: 0;
  border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rock);
  box-shadow: var(--shadow-hard);
}
.page-home .form-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .form-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--terra);
}
.page-home .gesture-icon {
  color: var(--signal);
  font-size: 18px;
}
.page-home .form-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(244, 240, 232, 0.85);
  max-width: 600px;
  margin-bottom: 24px;
}
.page-home .form-strip {
  padding-bottom: 12px;
}
.page-home .form-chips {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
}
.page-home .chip-card {
  min-width: 180px;
  flex: 1 0 180px;
  padding: 18px;
  background: var(--rock);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--signal);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.page-home .chip-card:hover,
.page-home .chip-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--signal);
}
.page-home .chip-no {
  font-size: 12px;
  color: var(--terra);
  letter-spacing: 0.1em;
}
.page-home .chip-score {
  font-size: 2rem;
  color: var(--rice);
  font-weight: 800;
  line-height: 1;
}
.page-home .chip-meta {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.6);
}
.page-home .form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(244, 240, 232, 0.75);
}
.page-home .note-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: page-home-pulse 1.8s infinite;
}
@keyframes page-home-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* ===== STATS BAND ===== */
.page-home .stats-band {
  background: linear-gradient(135deg, var(--space-blue-2), var(--space-blue-deep));
  border-block: var(--border-w) solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0;
}
.page-home .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: rgba(11, 30, 63, 0.6);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
}
.page-home .stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--signal);
  line-height: 1;
}
.page-home .stat-label {
  font-size: 14px;
  color: rgba(244, 240, 232, 0.68);
}

/* ===== EXPLORE ===== */
.page-home .explore-zone {
  padding: var(--home-section-space) 0;
}
.page-home .explore-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.page-home .explore-card {
  padding: 26px;
  border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--space-blue-2);
  color: var(--rice);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.page-home .explore-card:hover,
.page-home .explore-card:focus-visible {
  border-color: var(--signal);
  background: var(--rock);
  transform: translateY(-4px);
}
.page-home .explore-index {
  font-size: 24px;
  font-weight: 700;
  color: var(--terra);
}
.page-home .explore-title {
  font-size: 1.3rem;
  font-weight: 800;
}
.page-home .explore-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.68);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .page-home .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .cal-row {
    grid-template-columns: 56px 1fr 80px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
  }
  .page-home .hero-copy {
    padding-top: 24px;
  }
  .page-home .hero-meta {
    flex-wrap: nowrap;
  }
  .page-home .download-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: center;
  }
  .page-home .dash-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .page-home .form-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

@media (min-width: 1280px) {
  .page-home .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
