:root {
  --bg: #131629;
  --card: #1b2038;
  --text: #f2f4fa;
  --muted: #9aa3c0;
  --accent: #e8c15a;
  --profit: #34c759;
  --loss: #ff3b5c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

header.site img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

header.site .name {
  font-weight: 700;
  font-size: 1.1rem;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

header.site nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

header.site nav a:hover { color: var(--text); }

.hero {
  text-align: center;
  padding: 64px 0 40px;
}

.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p.tagline {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #131629;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
}

.badge.coming { background: var(--card); color: var(--muted); cursor: default; }

.pricing-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Screenshot slider — shows at most 3 images on desktop, 1 on phones */
.slider-wrap {
  position: relative;
  padding: 32px 0 56px;
  max-width: 1080px;
  margin: 0 auto;
}

.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 24px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--card) transparent;
}

.slider img {
  /* exactly 3 per view: a third of the container minus the gaps */
  width: calc((100% - 88px) / 3);
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 700px) {
  .slider img {
    /* one at a time, neighbors peeking at the edges */
    width: 78vw;
  }

  /* two-row header: brand centered on top, nav centered below */
  header.site .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header.site nav {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    gap: 16px;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 32, 56, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

.slider-btn:hover { background: var(--card); }
.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 56px;
}

.feature {
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--accent);
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature a {
  color: var(--accent);
}

/* Content pages */
main.page {
  padding: 48px 0 64px;
}

main.page h1 { margin-bottom: 8px; }

main.page p.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

main.page h2 {
  font-size: 1.25rem;
  margin: 28px 0 8px;
  color: var(--accent);
}

main.page p, main.page li {
  color: #cdd3e6;
  margin-bottom: 10px;
}

main.page ul { padding-left: 22px; }

main.page a { color: var(--accent); }

footer.site {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site a { color: var(--muted); }

.disclaimer {
  max-width: 640px;
  margin: 0 auto 16px;
}
