:root {
  --bg: #15111e;
  --card: #201a2e;
  --ink: #f2eef8;
  --muted: #a89fb8;
  --mint: #45e0b0;
  --coral: #fa5f6e;
  --amber: #f6a437;
  --blue: #6aa8ff;
  --grape: #9b80c7;
  --rose: #ef7d9d;
  --line: #2e2640;
}

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

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Nunito", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a:link { color: var(--mint); }
a:visited { color: var(--grape); }

/* tile strip along the very top, like a row of buried grimlings */
.tile-strip {
  display: flex;
  height: 16px;
  gap: 4px;
  padding: 4px;
  background: #0e0b15;
}
.tile-strip span { border-radius: 4px; }
.tile-strip span:nth-child(1) { flex: 3; background: var(--mint); }
.tile-strip span:nth-child(2) { flex: 2; background: var(--amber); }
.tile-strip span:nth-child(3) { flex: 4; background: var(--grape); }
.tile-strip span:nth-child(4) { flex: 2; background: var(--coral); }
.tile-strip span:nth-child(5) { flex: 3; background: var(--blue); }
.tile-strip span:nth-child(6) { flex: 2; background: var(--rose); }

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

/* hero */
.hero {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 40px;
}
.hero .icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 0 48px rgba(69, 224, 176, 0.35);
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.hero .subtitle {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--mint);
  font-weight: 700;
  margin-top: 4px;
}
.hero .pitch {
  max-width: 580px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.store-badge { display: inline-block; margin-top: 28px; transition: transform 0.15s ease; }
.store-badge:hover { transform: scale(1.04); }
.store-badge img { height: 54px; display: block; }

/* screenshots */
.shots {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.shots img {
  width: min(280px, 80vw);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  border-top: 6px solid var(--mint);
}
.feature:nth-child(2) { border-top-color: var(--coral); }
.feature:nth-child(3) { border-top-color: var(--amber); }
.feature:nth-child(4) { border-top-color: var(--blue); }
.feature:nth-child(5) { border-top-color: var(--grape); }
.feature:nth-child(6) { border-top-color: var(--rose); }
.feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* prose (privacy) */
.prose { max-width: 680px; margin: 0 auto; padding: 48px 24px 64px; }
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.prose h2 { font-size: 1.25rem; font-weight: 800; margin: 32px 0 8px; }
.prose p, .prose li { color: #cdc4dc; margin-bottom: 12px; }
.prose ul { padding-left: 24px; margin-bottom: 12px; }
.prose .effective { color: var(--muted); font-weight: 600; }
.back-link, .back-link:visited {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--mint);
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* footer */
footer {
  background: #0e0b15;
  color: #8d8499;
  margin-top: 48px;
  padding: 32px 0;
  text-align: center;
  font-size: 0.95rem;
}
footer a, footer a:visited { color: var(--mint); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
footer .links { margin-bottom: 8px; }
footer .links a { margin: 0 12px; }

/* top bar */
.topnav { background: #0e0b15; border-bottom: 1px solid var(--line); }
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink) !important;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
#langsel {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
}
