* {
  box-sizing: border-box;
}

:root {
  --bg: #1a1b26;
  --surface: #24283b;
  --text: #c0caf5;
  --muted: #565f89;
  --accent: #7aa2f7;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--muted);
}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
}

.logo {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
}

.tagline {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.main {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  width: 100%;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--text);
  margin: 0;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.2rem;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.screenshot-item {
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 10px;
  overflow: hidden;
}

.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.feature-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text);
}

.feature-list li {
  margin-bottom: 0.6rem;
}

.feature-list strong {
  color: var(--accent);
  font-weight: 600;
}

.steps {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text);
}

.steps li {
  margin-bottom: 0.5rem;
}

.perfect-for p,
.requirements ul {
  margin: 0;
  color: var(--muted);
}

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

.requirements li {
  margin-bottom: 0.35rem;
}

.pricing-lead {
  margin: 0 0 1rem;
  color: var(--text);
}

.pricing-list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--text);
}

.pricing-list li {
  margin-bottom: 0.6rem;
}

.pricing-list strong {
  color: var(--accent);
}

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

.download p,
.support p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.support .support-official {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.support .support-official a {
  color: var(--accent);
  word-break: break-all;
}

.btn-download,
.btn-support {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  margin: 0.5rem 0 0;
  transition: filter 0.15s;
  font-size: 1rem;
}

.btn-download:hover,
.btn-support:hover {
  filter: brightness(1.1);
}

.btn-support {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--muted);
  cursor: pointer;
}

.download-note,
.support-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  opacity: 0.9;
}

.ad-slot-section {
  margin-bottom: 1rem;
}

.ad-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.ad-slot-box {
  min-height: 120px;
  border: 1px dashed var(--muted);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.ad-slot-box p {
  margin: 0;
  font-size: 0.9rem;
}

.footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--surface);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

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

.legal h2 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.legal h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.legal p,
.legal ul {
  color: var(--text);
  margin: 0 0 0.75rem;
}

.legal ul {
  padding-left: 1.35rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal code {
  font-size: 0.9em;
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

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

.legal-back {
  margin-top: 2rem;
}

.legal-back-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
}
