.page-home {
  --home-pad-y: 40px;
  --home-line: rgba(241, 196, 15, 0.22);
  --home-gold-soft: rgba(241, 196, 15, 0.09);
  --home-red-wash: rgba(192, 57, 43, 0.18);
  --home-card-bg: rgba(30, 30, 30, 0.82);
  position: relative;
  background:
    radial-gradient(ellipse at 10% -5%, var(--home-red-wash), transparent 55%),
    radial-gradient(ellipse at 95% 30%, var(--home-gold-soft), transparent 45%),
    var(--c-dark);
  color: var(--c-text);
  overflow-x: hidden;
}
.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.page-home .home-section {
  position: relative;
  padding: var(--home-pad-y) 0;
}
.page-home .home-section + .home-section {
  border-top: 1px solid var(--home-line);
}
.page-home .home-section__head {
  margin-bottom: 26px;
}
.page-home .home-section__title {
  margin: 6px 0 0;
  font-size: 28px;
}
.page-home .home-section__desc {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.82);
  max-width: 760px;
}
.page-home .home-section__desc a {
  color: var(--c-gold);
  text-decoration: none;
}

.page-home .home-hero {
  position: relative;
  padding: 40px 0 56px;
  overflow: hidden;
}
.page-home .home-hero__texture {
  position: absolute;
  inset: -8% -10%;
  z-index: 0;
  pointer-events: none;
}
.page-home .home-hero__texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: screen;
}
.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.page-home .home-hero__left {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  align-items: start;
}
.page-home .home-hero__portrait-img {
  width: 100%;
  height: auto;
  border: 2px solid var(--c-gold);
  box-shadow: var(--shadow-panel);
  clip-path: polygon(6% 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.page-home .home-hero__statement {
  padding-top: 2px;
}
.page-home .home-hero__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.6);
}
.page-home .home-hero__crumb-sep {
  color: var(--c-gold);
}
.page-home .home-hero__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-teal);
  background: rgba(22, 160, 133, 0.1);
  border: 1px solid rgba(22, 160, 133, 0.4);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.page-home .home-hero__title {
  font-family: var(--font-headline);
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 900;
}
.page-home .home-hero__lead {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 245, 245, 0.86);
  margin: 0 0 12px;
}
.page-home .home-hero__status {
  font-size: 12px;
  color: var(--c-gold);
  margin: 0;
}
.page-home .home-console {
  background: linear-gradient(145deg, rgba(192, 57, 43, 0.12), transparent 55%), rgba(20, 20, 20, 0.92);
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-panel);
}
.page-home .home-console__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(192, 57, 43, 0.14);
  border-bottom: 1px solid var(--home-line);
}
.page-home .home-console__label {
  font-size: 13px;
  color: var(--c-gold);
}
.page-home .home-console__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--c-teal);
}
.page-home .home-console__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 10px rgba(22, 160, 133, 0.8);
}
.page-home .home-console__nav {
  display: grid;
}
.page-home .home-console__row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.page-home .home-console__row + .home-console__row {
  border-top: 1px dashed rgba(241, 196, 15, 0.16);
}
.page-home .home-console__row:hover {
  background: rgba(241, 196, 15, 0.08);
  color: var(--c-gold);
  padding-left: 24px;
}
.page-home .home-console__no {
  font-size: 13px;
  color: var(--c-gold);
}
.page-home .home-console__name {
  font-weight: 700;
  font-size: 17px;
}
.page-home .home-console__meta {
  display: none;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.58);
}
.page-home .home-console__note {
  margin: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(241, 196, 15, 0.16);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.68);
}
.page-home .home-console__note .mono {
  color: var(--c-teal);
}

.page-home .home-entries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .home-entry-card {
  display: block;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.12), transparent 65%), var(--home-card-bg);
  border: 1px solid rgba(241, 196, 15, 0.18);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.02) inset;
  color: var(--c-text);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.page-home .home-entry-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.22), transparent 65%), #222;
}
.page-home .home-entry-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.page-home .home-entry-card__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-teal);
  border: 1px solid rgba(22, 160, 133, 0.4);
  padding: 2px 8px;
  background: rgba(22, 160, 133, 0.08);
}
.page-home .home-entry-card__arrow {
  font-size: 16px;
  color: var(--c-gold);
}
.page-home .home-entry-card__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 900;
}
.page-home .home-entry-card__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.78);
}
.page-home .home-entry-card__route {
  font-size: 12px;
  color: var(--c-gold);
}

.page-home .home-downloads {
  background: radial-gradient(ellipse at 15% 50%, rgba(192, 57, 43, 0.18), transparent 55%), radial-gradient(ellipse at 90% 10%, rgba(241, 196, 15, 0.08), transparent 40%);
}
.page-home .home-downloads__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.page-home .home-downloads__art {
  width: 100%;
  max-width: 320px;
  height: auto;
  align-self: center;
  justify-self: center;
  border: 2px solid var(--c-gold);
  box-shadow: var(--shadow-panel);
  transform: rotate(1.5deg);
}
.page-home .home-downloads__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-downloads__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  background: rgba(28, 28, 28, 0.86);
  border: 1px solid rgba(241, 196, 15, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.page-home .home-downloads__item + .home-downloads__item {
  margin-top: 14px;
}
.page-home .home-downloads__item:hover {
  border-color: rgba(241, 196, 15, 0.5);
  background: rgba(44, 42, 34, 0.92);
}
.page-home .home-downloads__item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .home-downloads__index {
  font-size: 12px;
  color: var(--c-gold);
}
.page-home .home-downloads__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}
.page-home .home-downloads__tag {
  margin-left: auto;
  font-size: 11px;
  color: var(--c-teal);
  border: 1px solid rgba(22, 160, 133, 0.4);
  padding: 2px 8px;
  white-space: nowrap;
}
.page-home .home-downloads__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.8);
}
.page-home .home-downloads__item .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .home-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-panel);
}
.page-home .home-compare__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(20, 20, 20, 0.78);
}
.page-home .home-compare__table th {
  background: rgba(192, 57, 43, 0.35);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--home-line);
  white-space: nowrap;
}
.page-home .home-compare__table td {
  padding: 14px;
  border-bottom: 1px solid rgba(241, 196, 15, 0.12);
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.7;
  vertical-align: top;
  transition: background 0.25s var(--ease);
}
.page-home .home-compare__table tr:last-child td {
  border-bottom: 0;
}
.page-home .home-compare__table tr:hover td {
  background: rgba(192, 57, 43, 0.14);
}
.page-home .home-compare__table a {
  color: var(--c-gold);
  text-decoration: none;
  white-space: nowrap;
}
.page-home .home-compare__table a:hover {
  text-decoration: underline;
}
.page-home .home-compare__note {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: rgba(241, 196, 15, 0.06);
  border: 1px solid rgba(241, 196, 15, 0.2);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.75);
}
.page-home .home-compare__note .mono {
  color: var(--c-gold);
}

.page-home .home-updates__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .home-updates__item {
  padding: 20px 22px;
  background: radial-gradient(ellipse at 0% 0%, rgba(192, 57, 43, 0.14), transparent 60%), rgba(28, 28, 28, 0.8);
  border-left: 3px solid var(--c-gold);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.page-home .home-updates__item:hover {
  transform: translateX(6px);
  background: radial-gradient(ellipse at 0% 0%, rgba(241, 196, 15, 0.12), transparent 60%), rgba(36, 36, 36, 0.9);
}
.page-home .home-updates__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.page-home .home-updates__quarter {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--c-teal);
  border: 1px solid rgba(22, 160, 133, 0.5);
  padding: 2px 8px;
}
.page-home .home-updates__issue {
  font-size: 12px;
  color: var(--c-gold);
}
.page-home .home-updates__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.page-home .home-updates__desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.78);
}
.page-home .home-updates__link {
  color: var(--c-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.page-home .home-updates__link:hover {
  text-decoration: underline;
}

.page-home .home-bottom {
  position: relative;
  margin-top: 48px;
  background: radial-gradient(ellipse at 50% 120%, rgba(192, 57, 43, 0.28), transparent 60%), linear-gradient(180deg, #1a1a1a, #140f08);
  overflow: hidden;
}
.page-home .home-bottom__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  opacity: 0.75;
}
.page-home .home-bottom__copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 24px 52px;
  text-align: center;
}
.page-home .home-bottom__slogan {
  font-family: var(--font-headline);
  font-size: 42px;
  line-height: 1.2;
  margin: 12px 0 10px;
  color: var(--c-gold);
}
.page-home .home-bottom__text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 245, 245, 0.82);
  margin: 0 0 26px;
}
.page-home .home-bottom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.page-home .home-bottom__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 30px;
}
.page-home .home-bottom__stat {
  padding: 14px 12px;
  background: rgba(241, 196, 15, 0.06);
  border: 1px solid rgba(241, 196, 15, 0.16);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.page-home .home-bottom__stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1.2;
  margin-bottom: 4px;
}
.page-home .home-bottom__stat small {
  font-size: 12px;
  color: rgba(245, 245, 245, 0.7);
  letter-spacing: 0.04em;
}

.page-home .home-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  place-items: center;
  gap: 2px;
  width: 50px;
  height: 50px;
  background: var(--c-red);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--c-gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  box-shadow: var(--shadow-panel);
  font-size: 18px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.page-home .home-fab:hover {
  background: var(--c-red-deep);
  transform: translateY(-3px);
}
.page-home .home-fab__text {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

@media (min-width: 720px) {
  .page-home .home-entries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .page-home .home-bottom__stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-console__meta {
    display: block;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .page-home .home-hero__grid {
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 48px;
    align-items: start;
  }
  .page-home .home-hero__left {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .page-home .home-hero__portrait {
    max-width: 400px;
  }
  .page-home .home-hero__portrait-img {
    max-height: 500px;
    object-fit: cover;
    clip-path: polygon(0 0, 88% 0, 100% 18%, 100% 100%, 0 100%);
  }
  .page-home .home-hero__title {
    font-size: 38px;
  }
  .page-home .home-hero__lead {
    font-size: 16px;
  }
  .page-home .home-entries__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .page-home .home-downloads__layout {
    grid-template-columns: 300px 1fr;
    gap: 44px;
  }
  .page-home .home-downloads__art {
    max-width: 300px;
    position: sticky;
    top: 140px;
  }
  .page-home .home-updates__timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .page-home .home-bottom__img {
    max-height: 420px;
  }
  .page-home .home-bottom__slogan {
    font-size: 52px;
  }
}
