:root {
  --bg: #0b1220;
  --panel: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #22c55e;
  --link: #60a5fa;
  --border: #1f2937;
  --lightbg: #ffffff;
  --lighttext: #0b1220;
  --lightpanel: #f4f6f8;
  --lightborder: #e5e7eb;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif
}

body {
  background: var(--bg);
  color: var(--text)
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px
}

a {
  color: var(--link);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.badge {
  display: inline-block;
  padding: .25rem .6rem;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em
}

.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .1)
}

.btn.primary {
  background: var(--brand);
  color: #08121a;
  border-color: transparent
}

.btn.primary.disabled {
  opacity: .6;
  pointer-events: none
}

.btn+.btn {
  margin-left: .6rem
}

.bullet-list {
  margin: 1rem 0 0 0;
  padding: 0 0 0 1.25rem
}

.tiny {
  font-size: .9rem
}

.muted {
  color: var(--muted)
}

.grid {
  display: grid;
  gap: 24px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(34, 197, 94, .08), transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(6px)
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  color: var(--text)
}

.site-header .nav {
  display: flex;
  align-items: center;
  gap: 12px
}

.menu-btn {
  display: none
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px
}

.menu a {
  display: block;
  padding: .6rem .8rem;
  border-radius: 8px
}

.menu a.active,
.menu a:hover {
  background: rgba(255, 255, 255, .06)
}

.theme-btn {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  padding: .4rem .6rem;
  color: var(--text);
  cursor: pointer
}

.hero {
  padding: 28px 0
}

.hero .grid {
  grid-template-columns: 1.1fr .9fr;
  align-items: center
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: .6rem 0 .3rem
}

.hero .hero-art img {
  width: 100%;
  height: auto
}

.features {
  padding: 28px 0
}

.features h2,
.screenshots h2,
.faq h2,
.contact h2 {
  font-size: 1.6rem;
  margin: 0 0 .6rem
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px
}

.card .icon {
  font-size: 1.4rem
}

.screenshots {
  padding: 28px 0
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.shots img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  padding: 4px
}

.hint {
  margin-top: .5rem;
  color: var(--muted)
}

.faq {
  padding: 28px 0
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0
}

.contact {
  padding: 28px 0
}

.contact .grid {
  grid-template-columns: 1fr 1fr
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px
}

.contact-form label {
  display: block;
  margin: .4rem 0
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0a1220;
  color: var(--text)
}

.site-main {
  min-height: 54vh
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  color: var(--muted)
}

.footer-nav a {
  margin-right: 12px
}

.policy .wrap h1 {
  margin-top: 0
}

:root.light body {
  background: var(--lightbg);
  color: var(--lighttext)
}

:root.light .site-header {
  background: linear-gradient(180deg, rgba(34, 197, 94, .08), transparent);
  border-bottom: 1px solid var(--lightborder)
}

:root.light .card,
:root.light .contact-form,
:root.light .faq details {
  background: var(--lightpanel);
  border: 1px solid var(--lightborder)
}

:root.light .shots img {
  border: 1px solid var(--lightborder);
  background: var(--lightpanel)
}

:root.light .menu a.active,
:root.light .menu a:hover {
  background: rgba(0, 0, 0, .05)
}

:root.light .contact-form input,
:root.light .contact-form textarea {
  background: #fff;
  color: #111;
  border: 1px solid var(--lightborder)
}

@media (max-width: 900px) {
  .hero .grid {
    grid-template-columns: 1fr
  }

  .cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact .grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 640px) {
  .menu-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .3rem .5rem;
    color: var(--text);
    cursor: pointer
  }

  .menu {
    display: none;
    position: absolute;
    right: 16px;
    top: 56px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    flex-direction: column;
    min-width: 220px;
    padding: 8px
  }

  .nav.open .menu {
    display: flex
  }

  .cards {
    grid-template-columns: 1fr
  }

  .shots {
    grid-template-columns: 1fr
  }
}

.screenshots {
  padding: 2rem 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 250px;
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

.carousel-track img {
  min-width: 100%;
  border-radius: 12px;
  height: auto;
  object-fit: contain;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: .3rem .7rem;
  cursor: pointer;
  border-radius: 50%;
}

.carousel .prev {
  left: 8px;
}

.carousel .next {
  right: 8px;
}

.carousel-dots {
  text-align: center;
  margin-top: .6rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  border: none;
  background: #9ca3af;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #22c55e;
}