.page-home {
  --home-gap: 16px;
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(27, 58, 92, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 58, 92, 0.28) 1px, transparent 1px),
    var(--ink);
  background-size: 40px 40px;
  color: var(--paper);
  font-family: var(--font-body);
}

.page-home .home-hero {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.page-home .home-hero::before {
  content: "01";
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(138, 155, 181, 0.35);
  pointer-events: none;
  letter-spacing: 0.04em;
  z-index: 0;
}

.page-home .home-hero__topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-home .page-context {
  display: flex;
  gap: 8px;
  margin: 0;
  color: var(--slate);
}

.page-home .page-context__slash {
  color: var(--neon);
}

.page-home .home-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cyan);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: home-pulse 2s infinite ease-in-out;
}

@keyframes home-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.page-home .home-hero__section-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(184, 255, 0, 0.06);
  border: 1px solid var(--line);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  position: relative;
  z-index: 1;
}

.page-home .home-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(24px, 5vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
  position: relative;
  z-index: 1;
}

.page-home .home-hero__lead {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  position: relative;
  z-index: 1;
}

.page-home .status-console {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 0.18s ease;
}

.page-home .status-console:hover {
  border-color: var(--neon);
}

.page-home .console-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}

.page-home .status-console__list {
  margin: 0;
  padding: 0;
}

.page-home .status-console__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .status-console__row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-home .status-console__row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  transition: color 0.18s ease;
}

.page-home .status-console:hover .status-console__row dd {
  color: var(--neon);
}

.page-home .status-console__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.page-home .hero-focus {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.page-home .hero-focus__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-home .hero-focus__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.55) 100%);
}

.page-home .hero-focus__kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .hero-focus__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  color: var(--paper);
}

.page-home .hero-focus__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .hero-focus__flow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.page-home .quick-rail {
  padding: 14px 14px 8px;
  background: rgba(19, 31, 51, 0.8);
  border: 1px solid var(--line);
  border-top: 2px solid var(--neon);
}

.page-home .quick-rail__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: transform 0.18s ease, background 0.18s ease;
}

.page-home .quick-rail__link:last-child {
  border-bottom: 0;
}

.page-home .quick-rail__link:hover,
.page-home .quick-rail__link:focus-visible {
  transform: translateX(6px);
  background: rgba(184, 255, 0, 0.06);
}

.page-home .quick-rail__index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.page-home .quick-rail__label {
  font-size: 14px;
  font-weight: 600;
}

.page-home .section {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px 16px;
}

.page-home .section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}

.page-home .section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--neon);
}

.page-home .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .btn {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease;
}

.page-home .btn--primary {
  color: var(--ink);
  background: var(--neon);
  border: 1px solid var(--ink);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-home .btn--primary:hover,
.page-home .btn--primary:focus-visible {
  transform: translateY(-2px);
  background: var(--yellow);
}

.page-home .btn--ghost {
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--neon);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(184, 255, 0, 0.1);
}

.page-home .tablet-zone {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.4) 0%, rgba(19, 31, 51, 0.4) 100%);
  border-top: 1px solid var(--line);
}

.page-home .tablet-zone__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .tablet-zone__media {
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.page-home .tablet-zone__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .tablet-zone__content .lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.page-home .new-version {
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .new-version__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .new-version__intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .entry-card {
  position: relative;
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--paper);
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform 0.18s ease, border-left-color 0.18s ease;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  border-left-color: var(--neon);
}

.page-home .entry-card__index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.page-home .entry-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
}

.page-home .entry-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .entry-card__arrow {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon);
}

.page-home .new-version__media {
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .new-version__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .membership {
  border-top: 1px solid var(--line);
}

.page-home .membership__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .membership__content > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .data-table-wrap {
  margin-bottom: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.page-home .data-table {
  width: 100%;
  min-width: 520px;
  font-size: 13px;
  border-collapse: collapse;
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.page-home .data-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon);
  background: var(--panel);
}

.page-home .data-table tbody th {
  font-weight: 600;
  color: var(--yellow);
}

.page-home .data-table tbody td {
  color: var(--paper);
}

.page-home .data-table tbody tr:hover {
  background: rgba(184, 255, 0, 0.06);
}

.page-home .membership__media {
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .membership__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .support-zone {
  background: linear-gradient(180deg, rgba(19, 31, 51, 0.8) 0%, rgba(11, 18, 32, 1) 100%);
  border-top: 1px solid var(--line);
}

.page-home .support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .support-card {
  position: relative;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 0);
}

.page-home .support-card--hot {
  border-top: 3px solid var(--orange);
}

.page-home .support-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--paper);
}

.page-home .support-card__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .support-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cyan);
}

.page-home .support-card__link:hover,
.page-home .support-card__link:focus-visible {
  color: var(--neon);
  text-decoration: underline;
}

.page-home .support-zone__statement {
  margin: 28px 0 0;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  background: rgba(255, 92, 0, 0.08);
  border-left: 3px solid var(--orange);
}

.page-home .home-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--neon);
  border: 0;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.page-home .home-scroll-top:hover {
  transform: translateY(-2px);
  background: var(--yellow);
}

@media (min-width: 560px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .hero-focus {
    grid-column: span 1;
  }

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

@media (min-width: 760px) {
  .page-home .tablet-zone__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }

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

@media (min-width: 860px) {
  .page-home .support-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: 264px minmax(0, 1fr) 220px;
    align-items: stretch;
  }

  .page-home .home-hero__title {
    font-size: 46px;
  }

  .page-home .membership__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .new-version__wrap {
    grid-template-columns: 240px minmax(0, 1fr) 200px;
    align-items: stretch;
    gap: 20px;
  }

  .page-home .new-version__media img {
    height: 100%;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .home-hero__grid > * {
    animation: home-rise 0.45s ease both;
  }

  .page-home .home-hero__grid > *:nth-child(2) {
    animation-delay: 0.06s;
  }

  .page-home .home-hero__grid > *:nth-child(3) {
    animation-delay: 0.12s;
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
