:root {
  color-scheme: light;
  --bg: #eaf7f2;
  --bg-warm: #f7fbef;
  --text: #172520;
  --muted: #526862;
  --button: #14231f;
  --button-text: #f7fff9;
  --soft: #d8eee6;
  --outline: #b6d4cc;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(194, 230, 255, 0.5), transparent 30%),
    linear-gradient(140deg, var(--bg-warm) 0%, var(--bg) 54%, #d8eef8 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  padding: 0 clamp(24px, 4vw, 58px);
}

.brand,
.download,
.github-link {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 16px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 780;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
}

.github-link {
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}

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

.github-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 22px 56px;
  text-align: center;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(72px, 12vw, 174px);
  line-height: 0.9;
  font-weight: 820;
}

.description {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 650;
}

.download {
  gap: 14px;
  min-height: 76px;
  margin-top: 42px;
  padding: 0 34px;
  border-radius: 20px;
  color: var(--button-text);
  background: var(--button);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 780;
  box-shadow: 0 24px 44px rgba(20, 58, 47, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 52px rgba(20, 58, 47, 0.26);
}

.download-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 22px 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.footer a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.heart-icon {
  width: 15px;
  height: 15px;
  fill: #c83f56;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .topbar {
    min-height: 86px;
    padding-inline: 20px;
  }

  .brand {
    gap: 12px;
    font-size: 21px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .github-link {
    font-size: 14px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .description {
    margin-top: 26px;
  }

  .download {
    width: min(100%, 330px);
    justify-content: center;
    margin-top: 34px;
  }
}
