:root {
  --night: #090b12;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(16, 19, 31, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f2f8;
  --body: rgba(244, 242, 248, 0.68);
  --muted: rgba(244, 242, 248, 0.46);
  --orange: #ff8a00;
  --pink: #ff2d8d;
  --purple: #7b2cfb;
  --blue: #0066ff;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--night);
  color: var(--text);
  font-family: Poppins, Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.texture,
.wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.texture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.wash {
  background:
    radial-gradient(circle at 72% 4%, rgba(255, 45, 141, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(9, 11, 18, 0.9) 0%, rgba(9, 11, 18, 0.97) 56%, #090b12 100%);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 18, 0.8);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 48%, var(--purple) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 30px -6px rgba(123, 44, 251, 0.5);
}

.nav .button {
  padding: 0 16px;
}

.hero {
  padding: 76px 0 28px;
}

.meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--body);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.16;
}

.latest,
.cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(123, 44, 251, 0.1));
  box-shadow: 0 18px 70px -48px rgba(0, 0, 0, 0.95);
}

.latest {
  display: grid;
  margin: 24px 0 34px;
  padding: clamp(22px, 4vw, 36px);
}

.latest h2,
.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.latest p:last-child,
.cta p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--body);
  line-height: 1.7;
}

.section {
  padding: 34px 0 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}

.roadmap,
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tile,
.entry,
.feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.tile,
.feature {
  padding: 20px;
}

.tile h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.tile p,
.entry p,
.feature li {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.status,
.cat,
.tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
}

.status {
  margin-bottom: 14px;
  padding: 5px 10px;
}

.status.in-progress {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
}

.status.planned,
.tags span {
  background: rgba(255, 255, 255, 0.07);
  color: var(--body);
}

.day {
  margin: 28px 0 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

.changelog {
  display: grid;
  gap: 12px;
}

.entry {
  padding: 18px 20px;
}

.entry-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.entry h4 {
  flex: 1 1 auto;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.entry time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.cat {
  padding: 4px 9px;
}

.cat.feature {
  background: rgba(123, 44, 251, 0.18);
  color: #c2a1ff;
}

.cat.improvement {
  background: rgba(0, 102, 255, 0.16);
  color: #83b5ff;
}

.cat.performance {
  background: rgba(36, 217, 142, 0.16);
  color: #58e2a8;
}

.cat.fix,
.cat.infra {
  background: rgba(255, 138, 0, 0.16);
  color: #ffbd69;
}

.cat.design {
  background: rgba(255, 45, 141, 0.16);
  color: #ff8abe;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tags span {
  padding: 4px 8px;
  color: var(--muted);
}

.feature ul {
  margin: 0;
  padding-left: 18px;
}

.feature li {
  margin: 5px 0;
}

.cta {
  margin: 46px 0 12px;
  padding: clamp(24px, 5vw, 42px);
}

.cta .button {
  margin-top: 18px;
  padding: 0 18px;
}

.site {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .nav-inner,
  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .section-head p {
    text-align: left;
  }

  .roadmap,
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .nav .button {
    width: 100%;
  }

  .entry-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
