/* Faithful Games landing — matches Scripture Crosswords for Kids palette */
:root {
  --bg: #fff6eb;
  --bg-elevated: #ffffff;
  --bg-subtle: #ffe8cc;
  --fg: #1e293b;
  --fg-muted: #5b6b7c;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #f97316;
  --accent-soft: #ffedd5;
  --success: #059669;
  --border: #f0d9b8;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 2px 0 rgb(37 99 235 / 0.08), 0 14px 36px rgb(30 41 59 / 0.08);
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }

.site-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 2px 0 rgb(37 99 235 / 0.2);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.nav-cta:hover { background: var(--primary-dark); }

.hero { padding: 2.5rem 0 3rem; }
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 840px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: #c2410c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--fg);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--primary) !important;
  border-color: var(--border);
}
.hero-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin: 0;
}
.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section { padding: 2.5rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.4rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--fg-muted);
  margin: 0 0 1.75rem;
}

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.feature h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.feature p { margin: 0; font-size: 0.92rem; color: var(--fg-muted); }

.collections {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .collections { grid-template-columns: repeat(3, 1fr); }
}
.collection {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 140px;
  box-shadow: var(--shadow);
  border: 2px solid #fff;
  text-decoration: none;
  color: #fff;
  display: block;
}
.collection img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.collection .label {
  position: relative;
  z-index: 1;
  padding: 1rem;
  background: linear-gradient(transparent 20%, rgba(15, 23, 42, 0.85));
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 1rem;
}
.collection .label span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0.2rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1rem 0 2.5rem;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}
.cta-band p {
  margin: 0 auto 1.25rem;
  opacity: 0.92;
  max-width: 32rem;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary) !important;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--fg-muted);
  font-size: 0.88rem;
  text-align: center;
}
.site-footer strong { color: var(--primary); }
