/* Niyamam AI — public site. Colours mirror the app (AppColors). */
:root {
  --green: #24784f;
  --green-dark: #184e35;
  --green-light: #52af78;
  --copper: #c2703d;
  --bg: #f6faf7;
  --surface: #ffffff;
  --text: #16261d;
  --muted: #5b6b62;
  --line: #dfe9e3;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.site .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site strong { font-size: 17px; letter-spacing: -0.01em; }
header.site nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
header.site nav a:hover { color: var(--green); }
.hero { background: linear-gradient(160deg, #eaf5ef, var(--bg)); padding: 56px 0 44px; }
.hero h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 620px; }
main { padding: 40px 0 64px; }
h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
a { color: var(--green); }
.muted { color: var(--muted); }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 24px 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: #eef6f1; font-weight: 600; }
.notice {
  background: #fff6ef;
  border: 1px solid #f0d9c6;
  border-left: 4px solid var(--copper);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 22px 0;
}
footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
footer.site a { color: var(--muted); margin-right: 16px; }
.updated { font-size: 14px; color: var(--muted); margin-top: -4px; }
@media (max-width: 560px) {
  .hero h1 { font-size: 27px; }
  header.site .wrap { height: auto; padding: 12px 20px; flex-wrap: wrap; }
}
