@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ── Shared base ─────────────────────────────────────────────────────────── */

body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: #f5c400;
  color: #3d3d3d;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #ddd;
  padding: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid #ddd;
}

h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #2a354f;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2a354f;
  border-bottom: 1px solid #dde0e8;
  padding-bottom: 6px;
  margin-top: 24px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2a354f;
  margin-top: 16px;
  margin-bottom: 8px;
}

p,
ul {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

a {
  color: #2a354f;
  text-decoration: underline;
}

ul {
  list-style-type: disc;
}

li {
  margin-bottom: 8px;
}

.lang-switch {
  text-align: right;
  font-size: 14px;
  margin-bottom: 8px;
}

.lang-switch a {
  text-decoration: none;
  padding: 2px 6px;
}

.lang-switch a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
}

.lang-switch span {
  color: #666;
}

/* ── Homepage ────────────────────────────────────────────────────────────── */

.app-logo {
  display: block;
  width: 80px;
  border-radius: 15%;
  margin: 0 auto 8px;
}

main {
  flex: 1;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  color: #506690;
}

.hero {
  text-align: center;
  padding: 40px 16px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #2a354f;
  line-height: 1.4;
  margin-bottom: 4px;
}

.hero p {
  font-size: 1rem;
  font-weight: 300;
  color: #506690;
  margin-bottom: 32px;
}

.download-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.badge {
  width: 160px;
  display: block;
  transition: transform 0.2s ease;
}

.badge:hover {
  transform: translateY(-2px);
}

footer {
  text-align: center;
  padding: 32px 16px 16px;
  font-size: 14px;
}

footer nav {
  margin-bottom: 8px;
}

footer nav a {
  margin: 0 8px;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

footer p {
  font-size: 13px;
  color: #666;
  padding: 0;
  margin: 0;
}

/* ── Download / QR page ──────────────────────────────────────────────────── */

body.download {
  background: #111;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

body.download main {
  flex: none;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
