/* meowsk.app: one stylesheet for every page. Brand yellow/orange from the app icon; follows the system's
   light/dark setting. */
:root {
  --bg: #fffbf0;
  --surface: #ffffff;
  --text: #1d1b16;
  --muted: #6b6659;
  --line: #ece4cf;
  --accent: #f5a524;
  --accent-text: #8a5a00;
  --hero-a: #ffd23f;
  --hero-b: #ff9b2e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15140f;
    --surface: #1f1d17;
    --text: #f2efe6;
    --muted: #a8a294;
    --line: #2f2c23;
    --accent: #f5c518;
    --accent-text: #f5c518;
    --hero-a: #3a2c08;
    --hero-b: #3d2208;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent-text); }
img { max-width: 100%; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0;
}
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
                     font-weight: 700; font-size: 20px; }
header.site .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 16px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

.hero {
  background: linear-gradient(160deg, var(--hero-a), var(--hero-b));
  border-radius: 28px;
  padding: 40px 24px;
  text-align: center;
  margin: 8px 0 40px;
}
.hero img.icon { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.hero h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; margin: 24px 0 12px; }
.hero p { font-size: 19px; max-width: 520px; margin: 0 auto; }
.badge {
  display: inline-block; margin-top: 24px; padding: 12px 22px; border-radius: 999px;
  background: #000; color: #fff; font-weight: 600; text-decoration: none;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.feature .emoji { font-size: 28px; }
.feature h3 { margin: 6px 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

section { margin: 40px 0; }
h1.page { font-size: 32px; margin: 16px 0 4px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; }
li { margin: 4px 0; }
.muted { color: var(--muted); }
.summary { border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; margin: 24px 0; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ul { margin: 8px 0 0; }

footer.site {
  border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted);
}
footer.site a { color: var(--muted); }
