.page-home {
  --home-panel-1: #0d1324;
  --home-panel-2: #111a2e;
  --home-panel-3: #070c1c;
  --home-border: rgba(255, 255, 255, 0.08);
  --home-text: #dbe2f0;
  --home-text-dim: #8b94a7;
  background: var(--navy);
  color: var(--home-text);
  overflow-x: hidden;
}

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

.page-home .home-section-title {
  color: var(--light);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.page-home .home-section-lead {
  color: var(--home-text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.page-home .section-kicker {
  color: var(--orange);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.page-home .home-stage {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 255, 136, 0.14), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(255, 77, 36, 0.16), transparent 40%),
    linear-gradient(135deg, #070b18 0%, #0c1224 68%, #101a30 100%);
  overflow: hidden;
}

.page-home .home-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent 10%, black 90%);
}

.page-home .home-stage-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-stage-copy {
  position: relative;
  z-index: 2;
}

.page-home .home-stage-kicker {
  margin-bottom: 18px;
}

.page-home .home-stage-title {
  color: var(--light);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  text-shadow: 4px 4px 0 rgba(255, 77, 36, 0.32), 8px 8px 0 rgba(0, 0, 0, 0.22);
  margin-bottom: 22px;
  text-wrap: balance;
}

.page-home .home-stage-lead {
  color: var(--home-text);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 54ch;
  margin-bottom: 26px;
}

.page-home .home-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .home-stage-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--home-text-dim);
}

.page-home .home-stage-note .version-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(57, 255, 136, 0.16);
}

.page-home .home-stage-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: var(--home-panel-3);
  border: 1px solid rgba(57, 255, 136, 0.16);
}

.page-home .home-stage-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.page-home .container.breadcrumbs {
  padding-block: 18px;
  color: var(--home-text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.page-home .home-entry-section {
  position: relative;
  padding: 72px 0;
  background: var(--home-panel-1);
}

.page-home .home-entry-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
}

.page-home .entry-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.page-home .entry-filter-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-home .entry-filter-label {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #b6bfd4;
  border: 1px solid var(--home-border);
  border-left: 3px solid var(--grey);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .entry-filter-input:checked + .entry-filter-label {
  background: var(--orange);
  border-color: var(--orange);
  border-left-color: #fff;
  color: #fff;
}

.page-home .entry-filter-input:focus-visible + .entry-filter-label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .entry-layout {
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-home .entry-card {
  display: block;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-border);
  border-top: 3px solid var(--violet);
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .entry-card:hover {
  border-color: rgba(57, 255, 136, 0.5);
  box-shadow: 0 14px 36px rgba(4, 8, 20, 0.5), 0 0 0 1px rgba(57, 255, 136, 0.12);
}

.page-home .entry-card.card-dark {
  border-top-color: var(--green);
}

.page-home .entry-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.page-home .entry-card:hover .entry-card-inner {
  transform: rotateY(180deg);
}

.page-home .entry-card-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page-home .entry-card-front {
  padding: 26px;
  min-height: 270px;
  background:
    linear-gradient(145deg, rgba(17, 26, 46, 0.9), rgba(7, 12, 28, 0.96)),
    var(--home-panel-2);
  border-radius: 4px;
}

.page-home .entry-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px;
  background: linear-gradient(135deg, #0d1428, #101a30);
  border-radius: 4px;
  transform: rotateY(180deg);
  overflow: auto;
}

.page-home .entry-card--feature .entry-card-front {
  padding: 0;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  background: var(--home-panel-3);
}

.page-home .entry-card--feature .entry-card-content {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.page-home .entry-card--feature .entry-card-imgwrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.page-home .entry-card--feature .entry-card-imgwrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2);
}

.page-home .entry-card--feature .entry-card-imgwrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 28, 0.18) 0%, rgba(7, 12, 28, 0.82) 100%);
}

.page-home .entry-card-content {
  position: relative;
  z-index: 2;
}

.page-home .entry-card-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.page-home .entry-card-type {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 229, 208, 0.12);
  border: 1px solid rgba(0, 229, 208, 0.28);
  border-radius: 2px;
}

.page-home .entry-card-title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--light);
  margin-bottom: 10px;
}

.page-home .entry-card-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--home-text-dim);
  margin-bottom: 18px;
}

.page-home .entry-card-stats {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.page-home .entry-card-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.page-home .entry-card-num-label {
  font-size: 0.78rem;
  color: var(--home-text-dim);
}

.page-home .entry-card-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(57, 255, 136, 0.1);
  border: 1px solid rgba(57, 255, 136, 0.22);
  border-radius: 2px;
}

.page-home .entry-card--feature .entry-card-corner {
  color: var(--light);
  background: rgba(7, 12, 28, 0.55);
  border-color: rgba(57, 255, 136, 0.5);
}

.page-home .entry-card-back-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .entry-card-back-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.05;
}

.page-home .entry-card-back-num em {
  font-style: normal;
  font-size: 1rem;
  color: var(--green);
  margin-left: 4px;
}

.page-home .entry-card-back-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--home-text-dim);
}

.page-home .entry-card-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--home-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .entry-card:hover .entry-card-go {
  color: var(--green);
  background: rgba(57, 255, 136, 0.04);
}

.page-home .entry-card-go span {
  font-size: 1.1rem;
}

.page-home .home-brief-section {
  padding: 72px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--home-panel-3);
  background-size: 48px 48px;
}

.page-home .home-brief-grid {
  display: grid;
  gap: 40px;
}

.page-home .home-brief-aside {
  padding-bottom: 20px;
}

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

.page-home .brief-group {
  margin-bottom: 32px;
}

.page-home .brief-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--cyan);
  border-bottom: 1px solid rgba(0, 229, 208, 0.28);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.page-home .brief-group-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 229, 208, 0.12);
  border: 1px solid rgba(0, 229, 208, 0.28);
  border-radius: 2px;
  font-size: 0.75rem;
  color: var(--green);
}

.page-home .brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .brief-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--home-border);
}

.page-home .brief-item .tag {
  flex: 0 0 auto;
}

.page-home .brief-item-title {
  flex: 1;
  color: var(--home-text);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.55;
  transition: color 0.2s var(--ease);
}

.page-home .brief-item-title:hover {
  color: var(--cyan);
}

.page-home .brief-item-time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--home-text-dim);
  white-space: nowrap;
}

.page-home .home-update-section {
  padding: 72px 0;
  background: var(--home-panel-1);
}

.page-home .home-update-grid {
  display: grid;
  gap: 32px;
}

.page-home .home-update-imgwrap {
  clip-path: polygon(0 0, 92% 0, 100% 10%, 100% 100%, 0 100%);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--home-panel-2);
  border: 1px solid rgba(255, 77, 36, 0.2);
}

.page-home .home-update-imgwrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.page-home .update-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-home .update-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.page-home .update-item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 77, 36, 0.1);
  border: 1px solid rgba(255, 77, 36, 0.32);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--orange);
}

.page-home .update-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--home-text);
}

.page-home .home-perf-section {
  padding: 72px 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(0, 229, 208, 0.08), transparent 42%),
    linear-gradient(145deg, #070c1c, #0d1428);
}

.page-home .home-perf-grid {
  display: grid;
  gap: 40px;
}

.page-home .perf-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.page-home .perf-stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-border);
  border-bottom: 3px solid var(--orange);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .perf-stat:nth-child(2) {
  border-bottom-color: var(--green);
}

.page-home .perf-stat:nth-child(3) {
  border-bottom-color: var(--cyan);
}

.page-home .perf-stat:nth-child(4) {
  border-bottom-color: var(--violet);
}

.page-home .perf-num {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--light);
  line-height: 1.2;
}

.page-home .perf-num-green {
  color: var(--green);
}

.page-home .perf-num-cyan {
  color: var(--cyan);
}

.page-home .perf-stat .data-num-label {
  color: var(--home-text-dim);
  font-size: 0.78rem;
}

.page-home .home-perf-visual {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 90% 100%, 0 100%);
  aspect-ratio: 16 / 10;
  background: var(--home-panel-3);
  border: 1px solid rgba(57, 255, 136, 0.14);
}

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

.page-home .home-subscribe-section {
  padding: 72px 0;
  background: var(--home-panel-2);
}

.page-home .home-subscribe-banner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 77, 36, 0.2), transparent 46%),
    linear-gradient(135deg, rgba(255, 77, 36, 0.12), rgba(255, 77, 36, 0.02));
  border: 1px solid rgba(255, 77, 36, 0.32);
  border-left: 5px solid var(--orange);
  border-radius: 4px;
  box-shadow: var(--shadow-2);
}

.page-home .home-subscribe-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--home-text);
  max-width: 62ch;
  margin-top: 12px;
}

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

@media (min-width: 640px) {
  .page-home .entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  .page-home .perf-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-stage-inner {
    grid-template-columns: 1.6fr 1fr;
  }

  .page-home .home-stage-visual {
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 420px;
  }

  .page-home .home-stage-visual img {
    height: 100%;
  }

  .page-home .entry-layout {
    grid-template-columns: minmax(240px, 0.75fr) 2.2fr;
    gap: 48px;
  }

  .page-home .entry-index {
    position: sticky;
    top: 148px;
  }

  .page-home .entry-card:nth-child(2),
  .page-home .entry-card:nth-child(4) {
    margin-top: 32px;
  }

  .page-home .home-brief-grid {
    grid-template-columns: minmax(220px, 0.7fr) 2.3fr;
    gap: 56px;
  }

  .page-home .home-brief-aside {
    position: sticky;
    top: 148px;
  }

  .page-home .home-update-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }

  .page-home .home-perf-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-subscribe-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-stage-inner {
    grid-template-columns: 1.5fr 1.1fr;
  }

  .page-home .home-stage-visual {
    min-height: 500px;
  }

  .page-home .home-brief-grid {
    grid-template-columns: 0.6fr 2.4fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card-inner {
    transition: none;
  }

  .page-home .entry-card:hover .entry-card-inner {
    transform: none;
  }
}
