:root {
  --bg: #0b0b0b;
  --surface: #0b0b0b;
  --text-body: #a1a1a1;
  --text-strong: #ffffff;
  --divider: #2a2a2a;
  --subtle-fill: #141414;
  --button-solid: #ffffff;
  --button-solid-text: #111111;
  --chip-bg: #161616;
  --chip-text: #bdbdbd;
  --accent: #1ed760;
  --shadow-soft: 0 24px 56px rgba(0, 0, 0, 0.42);
  --blur-amount: 1.5px;
  --dim-opacity: 0.985;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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 4rem;
  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;
  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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
  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: 999px;
  min-height: 42px;
  padding: 0 1.15rem;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  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;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #e5e5e6;
}

#download-button:hover,
#download-button:focus-visible {
  background: #e5e5e6;
}

.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 {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--accent);
  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: 3.8rem;
  border-top: 1px solid var(--divider);
  padding-top: 2rem;
}

.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 3rem;
  }

  .site-nav {
    gap: 0.8rem;
    padding-bottom: 1.1rem;
  }

  .nav-logo {
    font-size: 14px;
  }

  .nav-logo-icon {
    width: 20px;
    height: 20px;
  }

  .nav-badge {
    min-height: 24px;
    font-size: 11px;
  }

  .hero {
    padding-top: 1.6rem;
  }

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

  .hero-btns {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .btn-primary,
  .btn-ghost {
    flex: 0 1 auto;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.9rem;
    font-size: 13px;
  }

  .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: 1.5rem 1.25rem;
  }

  .feature-item {
    gap: 0.25rem;
  }

  .feature-item i,
  .feature-item svg,
  .feature-item .lucide {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    margin-bottom: 0.5rem;
  }

  .feature-item h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  .feature-item p {
    font-size: 11px;
    line-height: 1.45;
  }

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

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

  .footer-copyright,
  .footer-meta,
  .license-link {
    text-align: center;
    width: 100%;
  }
}



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

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

}
