.page-home {
  --home-green: var(--color-green);
  --home-orange: var(--color-orange);
  --home-muted: var(--color-text-muted);
  --home-line: var(--color-border);
  --home-card-bg: rgba(255, 255, 255, 0.04);
  --home-mono: var(--font-mono);
}

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

.page-home .home-overview {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 40px;
  padding: 28px 20px 36px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 255, 136, 0.16), transparent 40%),
    radial-gradient(circle at 55% 92%, rgba(255, 127, 0, 0.12), transparent 50%),
    linear-gradient(145deg, var(--color-surface-solid), var(--color-bg) 75%);
}

.page-home .home-overview::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.06) 25%, transparent 32%);
  transform: translateX(-100%);
  animation: page-home-shimmer 9s ease-in-out infinite;
}

@keyframes page-home-shimmer {
  0%,
  55% {
    transform: translateX(-100%);
  }
  85%,
  100% {
    transform: translateX(100%);
  }
}

.page-home .home-overview__grid {
  display: grid;
  gap: 36px;
}

.page-home .home-overview__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-family: var(--home-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-green);
  background: rgba(0, 255, 136, 0.08);
  border-radius: var(--radius-pill);
}

.page-home .home-overview__badge .pulse-dot {
  animation: page-home-pulse 1.8s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.45);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 255, 136, 0);
  }
}

.page-home .home-overview h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .home-overview__lead {
  max-width: 660px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--home-muted);
}

.page-home .home-overview__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .toc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-pill);
  transition:
    border-color var(--transition),
    color var(--transition),
    background var(--transition);
}

.page-home .toc-link:hover {
  color: var(--home-green);
  background: rgba(0, 255, 136, 0.06);
  border-color: rgba(0, 255, 136, 0.4);
}

.page-home .toc-link__num {
  font-family: var(--home-mono);
  font-size: 12px;
  color: var(--home-orange);
}

.page-home .home-overview__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
}

.page-home .stat-card::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.14), transparent);
  transform: rotate(12deg);
}

.page-home .stat-card--primary {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(255, 255, 255, 0.03) 72%);
  border-color: rgba(0, 255, 136, 0.34);
}

.page-home .stat-card--primary::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent);
}

.page-home .stat-card--accent {
  background: linear-gradient(135deg, rgba(255, 127, 0, 0.14), rgba(255, 255, 255, 0.03) 72%);
  border-color: rgba(255, 127, 0, 0.32);
}

.page-home .stat-card--accent::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent);
}

.page-home .stat-card__label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .stat-card__value {
  margin: 0 0 8px;
  font-family: var(--home-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.page-home .stat-card__suffix {
  font-family: var(--home-mono);
  font-size: 15px;
  margin-left: 3px;
}

.page-home .stat-card__sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--home-muted);
}

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

.page-home .home-section-head--split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.page-home .home-section-head__index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--home-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.page-home .home-section-head__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.15);
}

.page-home .home-section-head__dot--orange {
  background: var(--home-orange);
  box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.16);
}

.page-home .home-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-home .home-section-head__desc {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--home-muted);
}

.page-home .home-calendar__board {
  display: grid;
  gap: 24px;
}

.page-home .home-calendar__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
}

.page-home .filter-bar__label {
  margin-right: 4px;
  font-family: var(--home-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--home-muted);
}

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

.page-home .calendar-feature__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
}

.page-home .calendar-feature__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.page-home .calendar-feature__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .calendar-feature__num {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-family: var(--home-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(0, 255, 136, 0.12);
  border-radius: 8px;
}

.page-home .home-calendar__visual,
.page-home .home-speed__visual,
.page-home .home-cases__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: var(--home-card-bg);
}

.page-home .home-calendar__visual {
  aspect-ratio: 3 / 2;
}

.page-home .home-sync__visual {
  aspect-ratio: 1 / 2;
}

.page-home .home-speed__visual {
  aspect-ratio: 3 / 2;
}

.page-home .home-cases__visual {
  aspect-ratio: 10 / 7;
}

.page-home .home-calendar__visual figcaption,
.page-home .home-sync__visual figcaption,
.page-home .home-speed__visual figcaption,
.page-home .home-cases__visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  color: var(--color-text);
  background: linear-gradient(180deg, transparent, rgba(10, 25, 47, 0.9) 62%);
  pointer-events: none;
}

.page-home .home-calendar__visual figcaption::before,
.page-home .home-sync__visual figcaption::before,
.page-home .home-speed__visual figcaption::before,
.page-home .home-cases__visual figcaption::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--home-green);
}

.page-home .home-cases__visual figcaption::before {
  background: var(--home-orange);
}

.page-home .home-sync__layout {
  display: grid;
  gap: 36px;
}

.page-home .home-sync__visual {
  justify-self: center;
  width: 100%;
  max-width: 260px;
  border-radius: 24px;
}

.page-home .sync-points {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .sync-points__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-home .sync-points__glyph {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  color: var(--home-green);
  background: rgba(0, 255, 136, 0.1);
  border-radius: 12px;
}

.page-home .sync-points__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.page-home .sync-points__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .home-speed__panel {
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 255, 136, 0.14), transparent 38%),
    radial-gradient(circle at 90% 100%, rgba(255, 127, 0, 0.08), transparent 46%),
    linear-gradient(145deg, var(--color-surface-solid), var(--color-bg) 82%);
}

.page-home .home-speed__content {
  display: grid;
  gap: 28px;
}

.page-home .speed-delta {
  display: grid;
  gap: 12px;
}

.page-home .speed-delta__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
}

.page-home .speed-delta__label {
  font-family: var(--home-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-orange);
}

.page-home .speed-delta__value {
  font-family: var(--home-mono);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.page-home .speed-delta__value strong {
  color: var(--home-green);
}

.page-home .speed-delta__unit {
  margin-left: 6px;
  font-size: 14px;
  color: var(--home-muted);
}

.page-home .speed-delta__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--home-muted);
}

.page-home .home-cases__layout {
  display: grid;
  gap: 28px;
}

.page-home .home-cases__steps .case-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .case-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
}

.page-home .case-steps__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.page-home .case-steps__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .case-steps__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--home-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-orange);
  background: rgba(255, 127, 0, 0.12);
  border-radius: 10px;
}

.page-home .home-updates__timeline {
  position: relative;
  margin-bottom: 28px;
}

.page-home .home-updates__timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--home-green), rgba(255, 127, 0, 0.35));
  border-radius: 2px;
}

.page-home .update-item {
  position: relative;
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  transition:
    background var(--transition),
    border-color var(--transition);
}

.page-home .update-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -18px;
  width: 10px;
  height: 10px;
  background: var(--home-green);
  border: 2px solid var(--color-bg);
  border-radius: 50%;
}

.page-home .update-item:nth-child(even)::before {
  background: var(--home-orange);
}

.page-home .update-item[open] {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(0, 255, 136, 0.22);
}

.page-home .update-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .update-item__head::-webkit-details-marker {
  display: none;
}

.page-home .update-item__head::after {
  content: "+";
  margin-left: auto;
  font-family: var(--home-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--home-green);
}

.page-home .update-item[open] .update-item__head::after {
  content: "−";
  color: var(--home-orange);
}

.page-home .update-item__meta {
  padding: 3px 10px;
  font-family: var(--home-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
}

.page-home .update-item__title {
  flex: 1 1 170px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .update-item__tag {
  font-size: 12px;
}

.page-home .update-item__body {
  padding: 0 18px 18px;
}

.page-home .update-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-muted);
}

.page-home .home-updates__more {
  display: inline-flex;
}

.page-home .home-trust__grid {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-trust__card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
}

.page-home .home-trust__card--award {
  background: linear-gradient(135deg, rgba(255, 127, 0, 0.14), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 127, 0, 0.32);
}

.page-home .home-trust__value {
  margin: 0 0 10px;
  font-family: var(--home-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--home-green);
}

.page-home .home-trust__card--award .home-trust__value {
  color: var(--home-orange);
}

.page-home .home-trust__card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
}

.page-home .home-trust__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .home-trust__note {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.page-home .home-trust__note p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--home-muted);
}

.page-home .home-trust__linkline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.page-home .home-trust__linkline a {
  color: var(--home-green);
  text-decoration: none;
  transition: text-decoration var(--transition);
}

.page-home .home-trust__linkline a:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .page-home .home-overview {
    padding: 40px 40px 48px;
  }

  .page-home .home-overview__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
  }

  .page-home .home-overview__stats {
    gap: 16px;
  }

  .page-home .home-section-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .home-calendar__board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 28px;
  }

  .page-home .home-calendar__side {
    justify-content: space-between;
    gap: 28px;
  }

  .page-home .calendar-feature {
    gap: 12px;
  }

  .page-home .calendar-feature__item {
    padding: 20px;
  }

  .page-home .home-sync__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    align-items: center;
    gap: 48px;
  }

  .page-home .home-sync__visual {
    max-width: 280px;
    justify-self: center;
  }

  .page-home .home-speed__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 46px 44px;
  }

  .page-home .home-speed__content {
    gap: 30px;
  }

  .page-home .speed-delta {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-cases__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }

  .page-home .home-trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .home-trust__note {
    padding: 26px 30px;
  }
}
