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

:root {
  --bg: #FAF5EE;
  --brown: #5C4033;
  --brown-dark: #3D2B1F;
  --brown-light: #8B6E62;
  --yellow: #E8B84B;
  --yellow-light: #F5D88A;
  --text: #3D2B1F;
  --text-muted: #7A5C4F;
  --card: #FFFFFF;
  --border: rgba(92, 64, 51, 0.12);
  --shadow: 0 2px 16px rgba(92, 64, 51, 0.10);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ───────────────────────────────── */
.site-header {
  background: var(--brown);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.site-header .brand {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.site-header .brand span {
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-size: 0.8em;
}
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.15s;
}
.site-header nav a:hover { color: #fff; }

/* ─── HERO ─────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #3D2B1F 0%, #7A4A3A 60%, #5C4033 100%);
  color: white;
  text-align: center;
  padding: 5.5rem 1.5rem 4.5rem;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.13;
  max-width: 680px;
  margin: 0 auto 1.25rem;
  letter-spacing: -1.5px;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 2.25rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.65);
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: default;
}

/* ─── CONTAINER / SECTIONS ─────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4rem 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brown-light);
  margin-bottom: 0.4rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.divider { height: 1px; background: var(--border); }

/* ─── APP CARDS ─────────────────────────────── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.app-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--yellow));
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(92, 64, 51, 0.16);
}
.app-card .flag { font-size: 2.75rem; margin-bottom: 0.75rem; display: block; }
.app-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--brown); margin-bottom: 0.35rem; }
.app-card .level-badge {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--brown-dark);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
}
.app-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

/* ─── FEATURES ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.5rem;
}
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--yellow-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h4 { font-size: 0.95rem; font-weight: 800; color: var(--brown); margin-bottom: 0.2rem; }
.feature p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

/* ─── FOOTER ────────────────────────────────── */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
footer .footer-links { display: flex; justify-content: center; gap: 1.75rem; margin-bottom: 0.75rem; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--yellow); }

/* ─── PROSE (Privacy / Support) ─────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: 2rem; font-weight: 900; color: var(--brown); margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.prose .date { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.15rem; font-weight: 800; color: var(--brown); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.prose ul { color: var(--text-muted); font-size: 0.95rem; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.4rem; }
.prose a { color: var(--brown); font-weight: 700; }

/* ─── FAQ ────────────────────────────────────── */
.faq-list { list-style: none; padding: 0; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 { font-size: 0.98rem; font-weight: 800; color: var(--brown); margin-bottom: 0.45rem; }
.faq-item p { font-size: 0.88rem; color: var(--text-muted); }
.contact-card {
  background: var(--brown);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.contact-card h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.contact-card p { color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; }
.contact-card a.email-link {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown-dark);
  padding: 0.75rem 2.25rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}
.contact-card a.email-link:hover { background: var(--yellow-light); }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero h1 { letter-spacing: -0.5px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .site-header nav { gap: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .app-card { padding: 1.4rem 1.1rem 1.2rem; }
  .app-card .flag { font-size: 2.25rem; }
}
