@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --background: #ffffff;
  --surface: #f7f7f7;
  --border: #e5e5e5;
  --text: #0a0a0a;
  --muted: #707070;
  --accent: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.github {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.github:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 90px);
  padding: 70px 0 120px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--text);
}

.hero-text > p {
  max-width: 430px;
  margin: 30px 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 16px 19px;
  background: var(--text);
  color: var(--background);
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.download-button:hover {
  transform: translateY(-2px);
  background: #222;
}

.download-button span {
  font-size: 18px;
}

.desktop-image {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.desktop-image img {
  display: block;
  width: 100%;
  height: auto;
}

.downloads {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 45px;
}

.section-heading > span {
  color: var(--muted);
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.download-list {
  border-top: 1px solid var(--border);
}

.download {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 27px 0;
  border-bottom: 1px solid var(--border);
}

.download-info {
  min-width: 0;
}

.platform {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.download h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.download p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.download-action {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.download-action a {
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid var(--text);
  font-size: 11px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.download-action a:hover {
  background: var(--text);
  color: var(--background);
}

.download-action code {
  min-width: 0;
  overflow: hidden;
  color: #555;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-link {
  display: inline-block;
  margin-top: 35px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid #bbb;
  padding-bottom: 3px;
}

.release-link:hover {
  color: var(--text);
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #999;
  font-size: 10px;
}

footer img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 800px) {
  main {
    width: min(100% - 32px, 1200px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 60px 0 100px;
  }

  .desktop-image {
    order: -1;
  }

  .download {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .download-action {
    flex-wrap: wrap;
  }

  .download-action code {
    width: 100%;
  }
}

@media (max-width: 500px) {
  header {
    height: 75px;
  }

  .hero h1 {
    font-size: 18vw;
  }

  .downloads {
    padding: 80px 0;
  }

  footer {
    height: 90px;
  }
}
