* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
}

body.light {
  background: #f4f4f4;
  color: #111;
}

.controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

button {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 6px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.text {
  flex: 1;
  max-width: 720px;
  margin: 120px auto;
  padding: 0 24px;
}

.title {
  text-align: center;
  margin-bottom: 5rem;
  font-size: 2.0rem;
  font-weight: 400;
  letter-spacing: 0px;
}

.text p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 2.2em;
}

.dedication {
  margin-top: 180px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.75;
}

.epilogue {
  margin-top: 140px;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer {
  text-align: center;
  margin: 80px 0 40px 0;
  font-size: 0.8rem;
  opacity: 0.5;
}

.lang {
  display: none;
}

.lang.active {
  display: block;
}

@media (max-width: 768px) {
  .text {
    margin: 90px auto;
  }

  .text p {
    font-size: 1.05rem;
  }

  .title {
    font-size: 1.8rem;
  }
}