:root {
  --bg: #f0f1ff;
  --surface: #ffffff;
  --text: #1b183d;
  --primary: #825fff;
  --primary-dark: #6b44e6;
  --muted: #4a4768;
  --border: #dcdaf2;
  --navbar-height: 60px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", Helvetica, Arial, sans-serif;
  background: #f0f1ff;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--navbar-height);
}

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
}

.nav-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 26px;
  display: block;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  background: #1b183d;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero p {
  margin: 0 auto 1.75rem;
  max-width: 560px;
  color: #c7c5e0;
  font-size: 1.05rem;
  padding: 0 1rem;
}

.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

.steps h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.25rem, 3.5vw, 1.4rem);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.step {
  text-align: center;
  padding: 1.25rem;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

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

.cta-section {
  background: var(--primary);
  color: #fff;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
}

.cta-section h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.35rem;
}

.cta-section p {
  margin: 0 auto 1rem;
  color: #f0f1ff;
  opacity: 0.95;
  max-width: 480px;
  padding: 0 1rem;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary);
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-weight: 600;
}

.store-buttons {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  align-content: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.2;
  transition: transform 0.05s ease, opacity 0.2s ease;
  width: 200px;
  text-align: center;
}

.store-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn span {
  text-align: left;
}

.store-btn strong {
  font-weight: 700;
}

.page {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.25rem;
}

.page h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.page .updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
}

.page p,
.page ul {
  color: var(--muted);
}

.page ul {
  padding-left: 1.25rem;
}

.page li + li {
  margin-top: 0.4rem;
}

.page a {
  color: var(--primary);
  text-decoration: none;
}

.page a:hover {
  text-decoration: underline;
}

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  flex-shrink: 0;
}

.footer .small {
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
  }

  .nav-links a {
    display: block;
    margin: 0.5rem 0;
  }

  .navbar {
    position: relative;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .steps {
    padding: 2.5rem 0;
  }

  .cta-section {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}
