/* CQ Board — GitHub Pages */
:root {
  --bg: #141716;
  --bg-card: #1c2220;
  --text: #eff3f1;
  --muted: #9aa5a0;
  --accent: #e5b438;
  --accent-2: #f3c64f;
  --line: #2b3531;
  --ok: #6bcf8e;
  --radius: 14px;
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 540px) {
  .site-header {
    padding: 0.65rem 0;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding: 0.1rem 0;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
    background: color-mix(in srgb, var(--bg-card) 60%, transparent);
    border: 1px solid var(--line);
  }

  .nav a:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--text);
  }
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.badge-pill {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

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

.lead {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  color: var(--text);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
  min-width: 11rem;
}

.btn:hover {
  text-decoration: none;
  border-color: var(--accent);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #121514;
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #121514;
  filter: none;
}

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

/* Sections */
section {
  padding: 2rem 0;
  scroll-margin-top: 4.5rem;
}

section h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.features {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features li {
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.not-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.not-list li {
  margin-bottom: 0.4rem;
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.shot-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.shot-item figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.shot-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shot-img:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

/* Privacy page */
.prose {
  padding: 2rem 0 3rem;
}

.prose h1 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.prose p,
.prose ul {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}

.prose ul {
  padding-left: 1.2rem;
}
