/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fff;
}

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

a { color: #4a90b5; text-decoration: none; }
a:hover { text-decoration: underline; }

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  color: #111;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

p { margin-bottom: 0.9rem; }

ul {
  margin: 0.4rem 0 0.9rem 1.5rem;
}

ul li { margin-bottom: 0.35rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #3b1a56 0%, #5b2d6e 60%, #7a3d8f 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.badge-play {
  display: inline-block;
  text-decoration: none;
}

.badge-play img { display: block; }

.hero > .container > .badge-play {
  position: absolute;
  bottom: 0.5rem;
  right: 1.25rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 20px;
}

/* ── Page header (inner pages) ────────────────────────────── */
.page-header {
  background: #5b2d6e;
  color: #fff;
  padding: 1.75rem 0 1.5rem;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0.25rem 0 0.2rem;
}

.page-header .meta {
  font-size: 0.875rem;
  opacity: 0.8;
}

.back-link {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.back-link:hover { color: #fff; text-decoration: none; }

/* ── Sections ─────────────────────────────────────────────── */
.intro {
  padding: 2.5rem 0 1.5rem;
  font-size: 1.05rem;
  color: #333;
  border-bottom: 1px solid #eee;
}

.screenshots {
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
}

.screenshots h2, .privacy-summary h2 {
  margin-top: 0;
}

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

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.screenshot-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
}

.screenshot-item .screenshot-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b1a56;
}

.screenshot-item figcaption {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.45;
}

/* ── Also includes list ───────────────────────────────────── */
.also-includes {
  margin: 1.5rem 0 0 0;
  padding: 1.1rem 1.25rem;
  background: #f9f5fc;
  border-radius: 10px;
  border: 1px solid #ddd0e8;
  list-style: none;
}

.also-includes li {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.also-includes li:last-child { margin-bottom: 0; }

/* ── Privacy summary ──────────────────────────────────────── */
.privacy-summary {
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
}

.privacy-summary p { max-width: 600px; }

/* ── Privacy policy page content ─────────────────────────── */
main { padding: 2rem 0 3rem; }

.content { max-width: 720px; }

.highlight {
  background: #f9f5fc;
  border-left: 3px solid #7a3d8f;
  padding: 0.75rem 1rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
}

th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: #f5eed8;
  border: 1px solid #ddd;
  font-weight: 600;
}

td {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  vertical-align: top;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #f9f5fc;
  border-top: 1px solid #ddd0e8;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

footer a { color: #6b7280; }
footer a:hover { color: #1a1a1a; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-logo { width: 72px; height: 72px; }
  table { font-size: 0.8rem; }
  td, th { padding: 0.4rem 0.5rem; }
}
