.page-home {
  position: relative;
  background: #0B1B3D;
  color: #E5E7EB;
}

.page-home .home-thesis {
  position: relative;
  overflow: hidden;
  padding: 36px 0 64px;
}

.page-home .home-thesis__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-thesis__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  display: block;
}

.page-home .home-thesis::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(201, 162, 39, 0.18), transparent 58%),
    radial-gradient(ellipse at 88% 16%, rgba(0, 229, 255, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(11, 27, 61, 0.5), #0B1B3D 92%);
}

.page-home .home-thesis__inner,
.page-home .home-doors {
  position: relative;
  z-index: 2;
}

.page-home .home-context {
  margin-bottom: 28px;
}

.page-home .home-context ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-context li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #A0AABF;
}

.page-home .home-context li[aria-current="page"] {
  color: #C9A227;
}

.page-home .home-context li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(160, 170, 191, 0.4);
}

.page-home .home-thesis__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #C9A227;
  text-transform: uppercase;
}

.page-home .home-thesis__meta .mono {
  white-space: nowrap;
}

.page-home .home-thesis__meta-line {
  flex: 1;
  height: 1px;
  min-width: 32px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.65), rgba(201, 162, 39, 0));
}

.page-home .home-thesis__meta-date {
  color: #A0AABF;
  letter-spacing: 0.08em;
}

.page-home .home-thesis__head {
  position: relative;
  margin: 34px 0 20px;
}

.page-home .home-thesis__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-home .home-thesis__site {
  display: block;
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #A0AABF;
  margin-bottom: 10px;
}

.page-home .home-thesis__slogan {
  display: block;
  font-size: clamp(2.7rem, 9vw, 5.4rem);
  line-height: 1.02;
  background: linear-gradient(100deg, #E5E7EB 0%, #E5E7EB 34%, #C9A227 70%, #00E5FF 112%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.page-home .home-thesis__tilt {
  position: absolute;
  right: 0;
  top: 6px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(160, 170, 191, 0.55);
  display: none;
}

.page-home .home-thesis__lead {
  max-width: 680px;
  margin: 0;
  padding: 0 0 2px;
  font-size: 15px;
  line-height: 1.9;
  color: #A0AABF;
}

.page-home .home-thesis__lead strong {
  color: #E5E7EB;
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  padding-bottom: 1px;
}

.page-home .home-thesis__sub {
  margin: 18px 0 0;
  font-size: 14px;
}

.page-home .home-thesis__sub a {
  color: #C9A227;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-home .home-thesis__sub a:hover {
  color: #00E5FF;
  border-color: #00E5FF;
}

.page-home .home-thesis__sub span {
  color: #00E5FF;
  margin-left: 6px;
}

.page-home .home-doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 44px;
}

.page-home .home-doors__item {
  --door: #C9A227;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  color: #E5E7EB;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease;
}

.page-home .home-doors__item:nth-child(2) {
  --door: #00E5FF;
}

.page-home .home-doors__item:nth-child(3) {
  --door: #7A5AF8;
}

.page-home .home-doors__item:nth-child(4) {
  --door: #C9A227;
}

.page-home .home-doors__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #C9A227, #00E5FF);
  opacity: 0.7;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.page-home .home-doors__item::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--door);
  opacity: 0;
  transform: translate(-6px, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-home .home-doors__item:hover {
  transform: translateY(-6px);
  border-color: var(--door);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.page-home .home-doors__item:hover::before {
  opacity: 1;
  width: 56px;
}

.page-home .home-doors__item:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.page-home .home-doors__index {
  position: absolute;
  left: 22px;
  top: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #A0AABF;
}

.page-home .home-doors__icon {
  color: #A0AABF;
  margin-top: 14px;
  transition: color 0.3s ease;
}

.page-home .home-doors__item:hover .home-doors__icon {
  color: var(--door);
}

.page-home .home-doors__title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.page-home .home-doors__desc {
  font-size: 13px;
  line-height: 1.7;
  color: #A0AABF;
}

.page-home .home-doors__route {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(160, 170, 191, 0.6);
}

.page-home .home-archive.section {
  padding: 60px 0 64px;
}

.page-home .home-archive__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

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

.page-home .home-archive__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: #E5E7EB;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.page-home .home-archive__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.42);
  transform: translateY(-3px);
}

.page-home .home-archive__icon {
  color: #00E5FF;
  margin-bottom: 4px;
}

.page-home .home-archive__name {
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-archive__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #A0AABF;
}

.page-home .home-archive__meta {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(201, 162, 39, 0.7);
}

.page-home .home-archive__fig {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.page-home .home-archive__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .home-archive__fig:hover img {
  transform: scale(1.03);
}

.page-home .home-archive__fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 18px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #E5E7EB;
  background: linear-gradient(0deg, rgba(11, 27, 61, 0.94), rgba(11, 27, 61, 0));
}

.page-home .home-compare {
  position: relative;
  padding: 60px 0 72px;
  background:
    radial-gradient(ellipse at 86% 4%, rgba(122, 90, 248, 0.2), transparent 52%),
    radial-gradient(ellipse at 6% 30%, rgba(0, 229, 255, 0.08), transparent 44%),
    linear-gradient(180deg, #081426, #0B1B3D 42%);
}

.page-home .home-compare::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  background: #0B1B3D;
  clip-path: ellipse(130% 100% at 50% 100%);
}

.page-home .home-compare > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-compare__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 30px;
}

.page-home .home-compare__fig {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #0B0B0F, #0B1B3D);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-home .home-compare__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.86;
}

.page-home .home-compare__fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  font-size: 12px;
  color: rgba(229, 231, 235, 0.85);
  background: linear-gradient(0deg, rgba(11, 27, 61, 0.92), transparent);
}

.page-home .home-compare__tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.page-home .home-compare__tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-compare__tab-label {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #A0AABF;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.page-home .home-compare__tab-input:focus-visible + .home-compare__tab-label {
  outline: 2px solid #00E5FF;
  outline-offset: 2px;
}

.page-home #home-tab-contract:checked + .home-compare__tab-label,
.page-home #home-tab-rights:checked + .home-compare__tab-label,
.page-home #home-tab-activity:checked + .home-compare__tab-label {
  background: rgba(0, 229, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.7);
  color: #E5E7EB;
}

.page-home .home-compare__panes {
  flex-basis: 100%;
  width: 100%;
  margin-top: 12px;
}

.page-home .home-compare__pane {
  display: none;
}

.page-home #home-tab-contract:checked ~ .home-compare__panes .home-compare__pane--contract,
.page-home #home-tab-rights:checked ~ .home-compare__panes .home-compare__pane--rights,
.page-home #home-tab-activity:checked ~ .home-compare__panes .home-compare__pane--activity {
  display: block;
}

.page-home .home-compare__intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #A0AABF;
}

.page-home .home-compare__list {
  display: grid;
  gap: 0;
}

.page-home .home-compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-compare__row:first-child {
  padding-top: 2px;
}

.page-home .home-compare__dim {
  font-size: 13px;
  font-weight: 700;
  color: #E5E7EB;
}

.page-home .home-compare__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #A0AABF;
}

.page-home .home-compare__badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.page-home .home-compare__badge--new {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.42);
  background: rgba(0, 229, 255, 0.06);
}

.page-home .home-compare__badge--old {
  color: #C9A227;
  border-color: rgba(201, 162, 39, 0.42);
  background: rgba(201, 162, 39, 0.06);
}

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

.page-home .home-compare__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #A0AABF;
}

.page-home .home-compare__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #00E5FF;
  transform: rotate(45deg);
}

.page-home .home-downloads {
  position: relative;
  overflow: hidden;
  padding: 72px 0 76px;
}

.page-home .home-downloads__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-downloads__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2;
  transform: scale(1.04);
}

.page-home .home-downloads::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #0B1B3D 0%, rgba(11, 27, 61, 0.62) 44%, #0B1B3D 100%);
  pointer-events: none;
}

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

.page-home .home-downloads__timeline {
  display: grid;
  gap: 14px;
  margin: 34px 0 32px;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 11, 15, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-home .home-downloads__point {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .home-downloads__point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-downloads__year {
  color: #C9A227;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .home-downloads__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #A0AABF;
}

.page-home .home-downloads__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-home .home-downloads__cta-note {
  margin: 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.7;
  color: #A0AABF;
}

.page-home .home-updates.section--compact {
  padding: 56px 0 64px;
}

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

.page-home .home-updates__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.page-home .home-updates__item:hover {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(4px);
}

.page-home .home-updates__index {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #00E5FF;
  padding-top: 3px;
}

.page-home .home-updates__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-updates__tag {
  align-self: flex-start;
}

.page-home .home-updates__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #E5E7EB;
}

.page-home .home-updates__link {
  grid-column: 2;
  justify-self: start;
  font-size: 13px;
  font-weight: 600;
  color: #C9A227;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-home .home-updates__link:hover {
  color: #00E5FF;
  border-color: #00E5FF;
}

.page-home .home-updates__footer {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.page-home .home-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 15, 0.5);
  padding: 28px 0;
}

.page-home .home-trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.page-home .home-trust p {
  margin: 0;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.8;
  color: #A0AABF;
}

.page-home .home-trust__contact {
  color: #C9A227;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-home .home-trust__contact:hover {
  color: #00E5FF;
  border-color: #00E5FF;
}

@media (min-width: 720px) {
  .page-home .home-thesis {
    padding: 48px 0 72px;
  }

  .page-home .home-thesis__tilt {
    display: block;
  }

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

  .page-home .home-archive__layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-home .home-archive__fig {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .page-home .home-archive__fig img {
    object-fit: cover;
  }

  .page-home .home-compare__layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }

  .page-home .home-compare__fig {
    aspect-ratio: auto;
    min-height: 420px;
    margin: 0;
  }

  .page-home .home-compare__fig img {
    position: absolute;
    inset: 0;
  }

  .page-home .home-compare__fig figcaption {
    position: absolute;
  }

  .page-home .home-compare__row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    align-items: start;
  }

  .page-home .home-compare__dim {
    padding-top: 3px;
  }

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

  .page-home .home-downloads__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .home-updates__item {
    grid-template-columns: 34px 1fr auto;
    gap: 14px;
    align-items: center;
  }

  .page-home .home-updates__link {
    grid-column: 3;
    justify-self: end;
  }

  .page-home .home-updates__body {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-thesis__lead {
    font-size: 16px;
    max-width: 780px;
  }

  .page-home .home-doors {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 52px;
  }

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

  .page-home .home-downloads__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 28px 24px;
  }

  .page-home .home-downloads__point {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 18px;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-home .home-downloads__point:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .page-home .home-downloads__point:last-child {
    padding-right: 0;
  }

  .page-home .home-downloads__year {
    font-size: 20px;
  }

  .page-home .home-updates__list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .page-home .home-updates__item {
    align-items: start;
  }

  .page-home .home-updates__item:hover {
    transform: translateY(-3px);
  }
}
