/* Shared styling for the three public pages.
   Colours are lifted from src/theme.js so the site and the app look like one
   product; if the app's palette changes, change it here too. */
:root {
  --bg: #FFF6E9;
  --bg-deep: #FFEFD9;
  --card: #FFFFFF;
  --ink: #2E2A3B;
  --ink-soft: #6B6478;
  --muted: #9A93A6;
  --accent: #22B8CF;
  --good: #17B26A;
  --shadow: 0 6px 14px rgba(176, 145, 100, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Gujarati families are named explicitly and early. Left to a bare `system-ui`
   stack, Chrome picks a face with no Gujarati coverage at bold weights and
   renders કક્કો as "sssì" -- silent mojibake that only shows up on the words
   that matter most here. Font fallback is per-character, so the Latin text is
   unaffected by naming these first.
   No webfont on purpose: fetching one from Google would hand a third party the
   IP address of everyone who reads our "no third parties" privacy policy. Every
   platform we ship to already has a Gujarati face installed. */
body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans Gujarati",           /* Android, ChromeOS, most Linux */
    "Gujarati Sangam MN", "Gujarati MT",  /* macOS, iOS */
    "Nirmala UI", "Shruti",         /* Windows */
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px 80px; }

/* Header ------------------------------------------------------------------ */
header { text-align: center; padding: 56px 0 34px; }
header img { width: 108px; height: 108px; object-fit: contain; }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; margin-top: 14px; }
.tagline { color: var(--ink-soft); font-weight: 600; margin-top: 6px; }

/* Page body --------------------------------------------------------------- */
h2 {
  font-size: 24px; font-weight: 800; margin: 40px 0 12px;
  padding-top: 4px;
}
h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
p, li { color: var(--ink-soft); }
p + p { margin-top: 12px; }
ul, ol { margin: 12px 0 0 22px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--accent); font-weight: 600; }

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  margin-top: 22px;
}

/* The single most important claim on the site, so it gets to look like it. */
.banner {
  background: var(--card);
  border-left: 6px solid var(--good);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}
.banner p { color: var(--ink); font-weight: 600; }

.updated { color: var(--muted); font-size: 15px; font-weight: 600; }

/* Feature grid on the home page ------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.feature { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.feature .glyph { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; }
.feature h3 { margin: 10px 0 4px; font-size: 17px; }
.feature p { font-size: 15px; margin: 0; }

/* Navigation -------------------------------------------------------------- */
nav.top { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
nav.top a {
  background: var(--card); border-radius: 999px; padding: 9px 20px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow);
}
nav.top a.here { background: var(--ink); color: var(--card); }

.back { display: inline-block; margin: 34px 0 0; font-weight: 700; text-decoration: none; }

footer {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid var(--bg-deep);
  text-align: center; color: var(--muted); font-size: 15px;
}
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 21px; }
  .features { grid-template-columns: 1fr; }
  header { padding: 38px 0 26px; }
}
