
:root {
  color-scheme: light;
  --bg: #fdfbf7;
  --ink: #26221c;
  --ink-soft: #5c5548;
  --accent: #d97742;
  --accent-ink: #ffffff;
  --card-bg: #ffffff;
  --border: #e8e1d4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: inherit; }
.site-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.9rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }
.nav-soon { color: var(--ink-soft); }
.soon-tag {
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: #f2ede2;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.3rem;
}
.sibling-apps { margin-top: 0.35rem; }
.logo { font-weight: 700; text-decoration: none; font-size: 1.1rem; }
main { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.hero { text-align: center; margin-bottom: 2rem; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
.hero p { color: var(--ink-soft); }
.quiz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.8rem; color: var(--ink-soft); }
.field select {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: white;
}
.quiz-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.quiz-toggle-icon { transition: transform 0.15s ease; }
.quiz-toggle[aria-expanded="true"] .quiz-toggle-icon { transform: rotate(180deg); }
@media (max-width: 640px) {
  .quiz-toggle { display: flex; }
  .quiz { display: none; }
  .quiz.expanded { display: grid; grid-template-columns: repeat(2, 1fr); }
}
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.result-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.result-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; background: #f2ede2; }
.result-card h3 { margin: 0.5rem 0 0.35rem; font-size: 1.05rem; }
.result-card p { margin: 0 0 0.5rem; color: var(--ink-soft); font-size: 0.9rem; }
.result-card .meta { font-size: 0.8rem; color: var(--ink-soft); }
.empty { color: var(--ink-soft); grid-column: 1 / -1; text-align: center; }
.browse-links { margin-top: 2.5rem; }
.browse-links h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.browse-link-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.browse-link-list a {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink-soft);
}
.browse-link-list a:hover { color: var(--ink); border-color: var(--accent); }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f2ede2;
  color: var(--ink-soft);
  margin: 0 0.3rem 0.3rem 0;
}
.badge-category { background: var(--accent); color: var(--accent-ink); }
.site-footer { text-align: center; padding: 2rem 1.5rem; color: var(--ink-soft); font-size: 0.85rem; }

.discover-apps {
  margin-top: 3rem;
  padding: 3.5rem 1.5rem;
  background: #241f18;
  color: #fdfbf7;
}
.discover-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.discover-apps h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 0.5rem; }
.discover-intro { color: #cfc7b8; margin: 0 0 2rem; font-size: 1.05rem; }
.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.app-card {
  display: block;
  background: #322b21;
  border: 1px solid #453c2e;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fdfbf7;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.app-card-soon { opacity: 0.9; }
.app-banner { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.app-icon { font-size: 2.5rem; display: block; margin: 1.75rem 1.75rem 0.75rem; }
.app-card h3 { margin: 0 1.75rem 0.5rem; font-size: 1.25rem; }
.app-card p { margin: 0 1.75rem 1.25rem; color: #cfc7b8; font-size: 0.95rem; }
.app-cta {
  display: block;
  padding: 1rem 1.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}
.app-card .soon-tag { background: #453c2e; color: #cfc7b8; }

.activity-detail { max-width: 720px; }
.back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
.activity-detail h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.hero-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; background: #f2ede2; }
.activity-detail .summary { color: var(--ink-soft); font-size: 1.05rem; }
.badges { margin: 1rem 0; }
.activity-section { margin-top: 1.75rem; }
.activity-section h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.activity-section ul { padding-left: 1.25rem; margin: 0; }
.cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f2ede2;
  text-align: center;
}
.cta h2 { margin-top: 0; font-size: 1.1rem; }
.cta-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9rem;
}
