.page-home {
  --home-bg-deep: rgba(16, 28, 21, 0.6);
  --home-bg-panel: rgba(34, 50, 40, 0.72);
  --home-bg-panel-solid: rgba(34, 50, 40, 0.92);
  --home-border: rgba(109, 190, 69, 0.24);
  --home-border-strong: rgba(168, 255, 52, 0.5);
  --home-glow: rgba(168, 255, 52, 0.16);
  --home-title-size: clamp(2.4rem, 5.6vw, 4.2rem);
  --home-section-title-size: clamp(1.9rem, 3.4vw, 2.8rem);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  padding: 14px 0 0;
}

.page-home .home-cover {
  position: relative;
  padding: 36px 0 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(109, 190, 69, 0.12) 0, transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(168, 255, 52, 0.08) 0, transparent 28%),
    linear-gradient(180deg, rgba(21, 34, 26, 0.4), transparent 60%);
}

.page-home .home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 36%, rgba(168, 255, 52, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 58%, rgba(109, 190, 69, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 74%, rgba(255, 210, 63, 0.06) 0 1.5px, transparent 2.5px);
  background-size: 140px 140px, 180px 180px, 110px 110px;
}

.page-home .home-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  opacity: 0.5;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent 24px, rgba(168, 255, 52, 0.7) 24px, rgba(168, 255, 52, 0.7) 27px, transparent 27px, transparent 54px),
    linear-gradient(90deg, transparent 0, transparent 38px, rgba(109, 190, 69, 0.55) 38px, rgba(109, 190, 69, 0.55) 41px, transparent 41px, transparent 76px);
  background-size: 96px 100%, 150px 100%;
  background-repeat: repeat-x;
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}

.page-home .home-cover-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 26px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-cover-issue {
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.page-home .home-cover-console {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: var(--home-bg-panel);
}

.page-home .home-console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(168, 255, 52, 0.8);
}

.page-home .home-cover-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .home-cover-intro {
  max-width: 640px;
}

.page-home .home-cover-kicker {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
}

.page-home .home-cover-title {
  margin: 0 0 20px;
  font-family: var(--font-title);
  font-size: var(--home-title-size);
  font-weight: 700;
  line-height: 1.16;
  transform: skewX(-2deg);
  color: var(--text-strong);
}

.page-home .title-char {
  display: inline-block;
  animation: home-char-in 0.55s var(--ease) both;
  animation-delay: calc(var(--char-index) * 45ms);
}

.page-home .home-cover-lead {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}

.page-home .home-cover-more {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .btn-cta {
  box-shadow: 0 6px 24px rgba(255, 210, 63, 0.22);
}

.page-home .btn-cta:hover {
  box-shadow: 0 0 0 1px var(--neon), 0 8px 32px var(--home-glow);
}

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

.page-home .home-cover-ring {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 62%;
  height: 62%;
  border: 2px solid var(--neon);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-cover-ring::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 88px;
  height: 88px;
  border: 2px dashed rgba(168, 255, 52, 0.45);
  border-radius: 50%;
}

.page-home .home-cover-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.page-home .home-cover-figure-tag {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(21, 34, 26, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--neon);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .home-cover-toc {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .home-toc-caption {
  grid-column: 1 / -1;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

.page-home .home-toc-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(34, 50, 40, 0.55);
  border: 1px solid transparent;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s;
}

.page-home .home-toc-item:hover {
  transform: translateY(-2px);
  border-color: var(--home-border-strong);
  color: var(--text-strong);
  box-shadow: 0 0 18px var(--home-glow);
}

.page-home .home-toc-num {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--yellow);
}

@keyframes home-char-in {
  from {
    opacity: 0;
    transform: translateY(0.6em) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.page-home .home-stats {
  position: relative;
  padding: 48px 0 34px;
  background: linear-gradient(135deg, rgba(109, 190, 69, 0.1), rgba(21, 34, 26, 0.3)), var(--surface-dark);
  border-block: 1px solid var(--line);
}

.page-home .home-section-kicker {
  margin: 0 0 8px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .home-section-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: var(--home-section-title-size);
  font-weight: 700;
  line-height: 1.25;
  transform: skewX(-2deg);
  color: var(--text-strong);
}

.page-home .home-stats-head {
  max-width: 680px;
}

.page-home .home-stats-desc {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

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

.page-home .home-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 128px;
  padding: 20px 18px 16px;
  background: var(--home-bg-panel);
  border: 1px solid var(--home-border);
  border-radius: 18px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.page-home .home-stat-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--home-border-strong);
  box-shadow: 0 0 22px var(--home-glow), var(--shadow);
}

.page-home .home-stat-card:first-child {
  background: linear-gradient(135deg, rgba(109, 190, 69, 0.2), var(--home-bg-panel) 62%);
}

.page-home .home-stat-card:first-child .home-stat-num {
  color: var(--neon);
}

.page-home .home-stat-label {
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-stat-num {
  font-family: var(--font-data);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.page-home .home-stat-note {
  font-size: 12px;
  color: var(--dim);
}

.page-home .home-stats-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  background: var(--home-bg-panel-solid);
  border: 1px solid var(--home-border);
  border-radius: 22px;
}

.page-home .home-stats-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.page-home .home-stats-note-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.page-home .home-stats-ring {
  width: 132px;
  height: 132px;
}

.page-home .home-stats-ring .ring-num {
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  fill: var(--neon);
}

.page-home .home-stats-ring .ring-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  fill: var(--muted);
}

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

.page-home .home-imports {
  position: relative;
  padding: 48px 0 36px;
  border-left: 4px solid var(--wine);
  background:
    radial-gradient(circle at 90% 12%, rgba(123, 45, 66, 0.16), transparent 34%),
    var(--surface);
}

.page-home .home-imports-head {
  max-width: 680px;
  margin-bottom: 24px;
}

.page-home .home-imports-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-imports-tabs .tabs-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .home-import-tab {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-border);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-home .home-import-tab:hover {
  color: var(--text-strong);
  border-color: var(--home-border-strong);
  box-shadow: 0 0 14px var(--home-glow);
}

.page-home .home-import-panel {
  animation: home-panel-in 0.3s var(--ease) both;
}

@keyframes home-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .home-import-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-import-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.page-home .home-import-item {
  position: relative;
  padding-left: 44px;
}

.page-home .home-import-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--kiwi);
  border: 2px solid var(--charcoal);
  box-shadow: 0 0 0 4px rgba(109, 190, 69, 0.18);
}

.page-home .home-import-item:first-of-type::before {
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(168, 255, 52, 0.22), 0 0 14px var(--neon);
}

.page-home .home-import-time {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.page-home .home-import-body {
  padding: 16px 18px;
  background: var(--home-bg-panel);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.page-home .home-import-body:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: var(--home-border-strong);
  box-shadow: 0 0 20px var(--home-glow);
}

.page-home .home-import-title {
  margin: 10px 0 6px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

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

.page-home .home-imports-foot {
  margin: 24px 0 0;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-changelog {
  position: relative;
  padding: 48px 0 38px;
  border-left: 4px solid var(--indigo);
  background:
    radial-gradient(circle at 8% 90%, rgba(61, 90, 128, 0.18), transparent 32%),
    var(--surface-dark);
}

.page-home .home-changelog-head {
  max-width: 680px;
  margin-bottom: 24px;
}

.page-home .home-changelog-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-log-list {
  display: flex;
  flex-direction: column;
}

.page-home .home-log-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-log-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--surface-dark);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.16);
}

.page-home .home-log-content {
  padding-right: 8px;
}

.page-home .home-log-title {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

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

.page-home .home-changelog-cta {
  margin-top: 24px;
  text-align: center;
}

.page-home .home-feedback {
  position: relative;
  padding: 48px 0 30px;
  border-top: 1px solid rgba(255, 193, 7, 0.35);
  background:
    radial-gradient(circle at 88% 24%, rgba(255, 210, 63, 0.1), transparent 30%),
    var(--surface);
}

.page-home .home-feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .home-feedback-copy {
  max-width: 620px;
}

.page-home .home-feedback-lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

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

.page-home .home-feedback-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 18px;
  background: var(--home-bg-panel);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-feedback-points li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .home-feedback-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.page-home .home-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-feedback-media {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: end;
}

.page-home .home-feedback-figure {
  margin: 0;
}

.page-home .home-feedback-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-home .home-feedback-figure-app {
  align-self: end;
  max-width: 76%;
}

.page-home .home-feedback-figure figcaption {
  margin-top: 10px;
  padding-left: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.page-home .home-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 34px;
  padding: 18px 22px;
  background: linear-gradient(90deg, rgba(46, 107, 52, 0.75), rgba(21, 34, 26, 0.9));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
}

.page-home .home-ticker-label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .home-ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.page-home .home-ticker-text {
  flex: 1 1 240px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .home-ticker-text strong {
  font-family: var(--font-data);
  color: var(--neon);
}

.page-home .home-ticker-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.page-home .home-ticker-link:hover {
  border-color: var(--yellow);
  color: var(--text-strong);
}

@media (min-width: 640px) {
  .page-home .home-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

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

@media (min-width: 860px) {
  .page-home .home-cover {
    padding-top: 48px;
  }

  .page-home .home-cover-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }

  .page-home .home-cover-toc {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .home-stats-visual {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .page-home .home-feedback-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .page-home .home-changelog {
    padding-left: 8px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-cover {
    padding-bottom: 40px;
  }

  .page-home .home-imports {
    padding-left: 22px;
  }

  .page-home .home-changelog {
    padding-left: 24px;
  }

  .page-home .home-import-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-home .home-import-list::before {
    display: none;
  }

  .page-home .home-import-item {
    padding-left: 0;
  }

  .page-home .home-import-item::before {
    left: -18px;
    top: 22px;
  }

  .page-home .home-import-item:nth-child(even) {
    margin-top: 12px;
  }

  .page-home .home-log-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 20px 10px;
  }
}

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

  .page-home .home-import-panel {
    animation: none;
  }

  .page-home .home-stat-card,
  .page-home .home-import-body,
  .page-home .home-toc-item,
  .page-home .home-import-tab,
  .page-home .btn,
  .page-home .home-ticker-link {
    transition: none;
  }
}

.page-home {
  --char-index: inherit;
}
