:root {
  --bg: #0b0b0b;
  --text-body: #a1a1a1;
  --text-strong: #ffffff;
  --divider: #2a2a2a;
  --subtle-fill: #141414;
  --button-solid-text: #111111;
  --hover-fill: #e5e5e6;
  --accent: #5b8def;
  --shadow-soft: 0 24px 56px rgba(0, 0, 0, 0.42);
  --blur-amount: 1.5px;
  --dim-opacity: 0.65;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100dvh;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-size: 15px;
  line-height: 22.5px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-strong);
  outline-offset: 3px;
}

.site-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 2.25rem 2rem 2.8rem;
  filter: blur(0);
  opacity: 1;
  transition: filter 300ms ease, opacity 300ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 1.7rem;
  border-bottom: 1px solid var(--divider);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-strong);
}

.nav-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--divider);
  overflow: hidden;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-badge {
  color: var(--text-body);
  font-size: 12px;
  font-weight: 500;
}

.hero {
  padding-top: 3.2rem;
  text-align: center;
}

.hero-headline {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2.1rem, 6.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.word-accent {
  color: var(--accent);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.35rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 18px;
  min-height: 42px;
  padding: 0 1.15rem;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: var(--text-strong);
  color: var(--button-solid-text);
  transition: background-color 500ms ease;
}

.btn-ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--divider);
  transition: border-color 500ms ease;
}

#download-button:hover,
#download-button:focus-visible {
  background: var(--hover-fill);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--hover-fill);
}

.hero-screenshot-placeholder {
  margin-top: 3rem;
  background: var(--subtle-fill);
  border: 1px solid var(--divider);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-screenshot-placeholder img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-grid {
  margin-top: 3.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6rem 2.1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-item i,
.feature-item svg,
.feature-item .lucide {
  width: 20px;
  height: 20px;
  color: #5a8def;
  stroke: currentColor;
  stroke-width: 2;
  margin-bottom: 0.85rem;
}

.feature-item h3 {
  margin: 0 0 0.3rem;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--text-body);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer {
  margin-top: 2.8rem;
  border-top: 1px solid var(--divider);
  padding-top: 2.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-meta,
.license-link {
  font-size: 13px;
  color: var(--text-body);
}

.license-link {
  transition: color 500ms ease;
}

.license-link:hover,
.license-link:focus-visible {
  color: var(--text-strong);
}

html.window-blurred .site-shell {
  filter: blur(var(--blur-amount));
  opacity: var(--dim-opacity);
}

@media (max-width: 700px) {
  .site-shell {
    padding: 1.1rem 1rem 2rem;
  }

  .site-nav {
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.1rem;
  }

  .nav-logo-icon {
    border-radius: 5px;
  }

  .btn-primary,
  .btn-ghost {
    border-radius: 14px;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 12vw, 2.65rem);
    line-height: 1.04;
  }

  .hero-screenshot-placeholder {
    margin-top: 2.2rem;
    border-radius: 14px;
  }

  .feature-grid {
    margin-top: 2.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }

  .feature-item i,
  .feature-item svg,
  .feature-item .lucide {
    margin-bottom: 0.65rem;
  }

  .site-footer {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .footer-inner {
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    text-align: center;
  }
}


@media (max-width: 400px) {
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell {
    transition: none;
  }

  html.window-blurred .site-shell {
    filter: none;
    opacity: 1;
  }

}
