@font-face {
  font-family: "Fredoka";
  src: url("/assets/Fredoka-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #0d47a1;
  --brand-light: #4fc3f7;
  --accent: #ff8c05;
  --ink: #1a2433;
  --muted: #5b6b80;
  --card: #ffffff;
  --bg: #eaf6ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 17px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, .brandmark { font-family: "Fredoka", system-ui, sans-serif; }

a { color: var(--brand); }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.2rem; }

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  padding: 1.1rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header img.logo { height: 46px; }
.site-header nav a { color: #fff; text-decoration: none; font-weight: 600; margin-left: 1.2rem; }
.site-header nav a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--brand), #06286b);
  color: #fff;
  text-align: center;
  padding: 3rem 0 3.5rem;
}
.hero img.logo { height: 120px; margin-bottom: .6rem; }
.hero h1 { font-size: 2.4rem; margin: .4rem 0; }
.hero p.tagline { font-size: 1.25rem; color: #d6ecff; margin: 0 auto; max-width: 34rem; }

/* App grid (landing) */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  margin: 2.5rem 0;
}
.app-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.4rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(13,71,161,.12);
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
}
.app-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(13,71,161,.2); }
.app-card img { width: 110px; height: 110px; border-radius: 24px; }
.app-card h3 { margin: .8rem 0 .2rem; color: var(--brand); }
.app-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* App page */
.app-hero { text-align: center; padding: 2.5rem 0 1.5rem; }
.app-hero img.icon { width: 132px; height: 132px; border-radius: 28px; box-shadow: 0 6px 20px rgba(13,71,161,.2); }
.app-hero h1 { font-size: 2rem; color: var(--brand); margin: 1rem 0 .3rem; }
.app-hero p.tagline { font-size: 1.15rem; color: var(--muted); margin: 0 auto 1.2rem; max-width: 34rem; }

.btn-play {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255,140,5,.4);
}
.btn-play.soon { background: #9fb3c8; box-shadow: none; cursor: default; }

.shots {
  display: flex; gap: 1rem; overflow-x: auto;
  padding: 1.5rem 0; scroll-snap-type: x mandatory;
}
.shots img {
  height: 460px; border-radius: 20px; scroll-snap-align: center;
  box-shadow: 0 6px 20px rgba(13,71,161,.18); flex: 0 0 auto;
}

.features { background: var(--card); border-radius: 22px; padding: 1.6rem 1.8rem; margin: 1.5rem 0; }
.features h2 { color: var(--brand); margin-top: 0; }
.features ul { list-style: none; padding: 0; margin: 0; }
.features li { padding: .45rem 0 .45rem 2rem; position: relative; }
.features li::before { content: "🐙"; position: absolute; left: 0; }

/* Generic prose (privacy) */
.prose { background: var(--card); border-radius: 22px; padding: 1.5rem 2rem; margin: 2rem 0; }
.prose h1 { color: var(--brand); border-bottom: 3px solid var(--accent); padding-bottom: .3rem; }
.prose h2 { color: var(--brand); }
.prose code { background: #eef2fb; padding: .1rem .35rem; border-radius: 5px; font-size: .9em; }
.prose em { color: var(--muted); }

/* Footer */
.site-footer { text-align: center; color: var(--muted); padding: 2.5rem 1rem; font-size: .9rem; }
.site-footer a { color: var(--brand); }

@media (max-width: 540px) {
  .hero h1 { font-size: 1.9rem; }
  .shots img { height: 360px; }
}
