/* Shared styling for the public marketing + policy pages.
   Deliberately CSS-only (no images, no webfonts): the product targets
   Tier-2/Tier-3 India on thin data plans and low-end devices, same
   reasoning as the app's pastel+icon visual language. */

:root {
  --green: #1B7A43;
  --green-dark: #14602f;
  --ink: #1a1a1a;
  --muted: #555;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --radius: 14px;
  --wrap: 900px;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 16px;
}

/* Narrower measure for long-form policy text */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2em; }

a { color: var(--green-dark); }

h1 { color: var(--green); line-height: 1.25; }

/* --- site header / nav --- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  text-decoration: none;
}
.brand span { color: var(--ink); font-weight: 400; font-size: 0.8rem; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.btn:hover { background: var(--green-dark); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* --- hero --- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 12px; }
.hero p.lede { font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.hero .cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* --- generic cards grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg);
}
.card .icon { font-size: 1.6rem; line-height: 1; }
.card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Sport tiles use soft per-sport pastels, mirroring the app's sport grid */
.sport {
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.sport .icon { display: block; font-size: 1.8rem; margin-bottom: 6px; }

/* --- pricing table --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th { background: var(--bg-soft); font-weight: 600; }
td.price { font-weight: 700; color: var(--green-dark); white-space: nowrap; }

/* --- notice banner --- */
.notice {
  border: 1px solid var(--green);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 24px 0;
  font-size: 0.95rem;
}

section { margin: 48px 0; }
section > h2 { font-size: 1.5rem; margin-bottom: 4px; }
section > p.sub { color: var(--muted); margin-top: 0; }

/* --- footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: var(--green-dark); }

@media (max-width: 520px) {
  .hero h1 { font-size: 1.7rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
