/* Shared by every page: design tokens, reset, header, footer, buttons, language switch. */
:root {
  --ink: #23253A;
  --muted: #5D6079;
  --subtle: #9497AE;
  --brand: #293BC7;
  --brand-dark: #1F2DA3;
  --brand-soft: #E3E6FA;
  --brand-wash: #DCE0F7;
  --pink: #E0306A;
  --pink-dark: #C21F57;
  --pink-text: #CF2A62; /* the pink for small text on white (the brand pink is 4.4:1 there, this is 5:1) */
  --pink-on-dark: #FF7AA3;
  --pink-soft: #FCE1EA;
  --green: #2E9E5B;
  --green-dark: #1D6B3D;
  --green-soft: #DDF1E4;
  --amber: #F5B82E;
  --amber-text: #8A5A00;
  --amber-soft: #FFF0D6;
  --navy: #1B1D45;
  --navy-soft: #2A2D66;
  --page: #EDEFF9;
  --surface: #F4F5FB;
  --line: #E3E5F2;
  --white: #fff;

  --font: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--pink); }
button { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; color: #fff; }

/* Dotted page background used by the landing page and the small pages */
.dots {
  background-color: var(--page);
  background-image: radial-gradient(rgba(41, 59, 199, .13) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}

/* Icons from assets/img/icons.svg */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-md { width: 18px; height: 18px; }
.ic-lg { width: 24px; height: 24px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.kicker { font-size: 13px; font-weight: 700; color: var(--pink-text); letter-spacing: .02em; }
.site-header { width: 100%; max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-name b { color: var(--pink); font-weight: inherit; }
.header-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.lang-switch { display: flex; gap: 4px; background: #fff; border-radius: 12px; padding: 4px; }
.lang-switch button { border: 0; cursor: pointer; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; }
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 11px 20px; font-weight: 700; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand); }

/* Google Play button (a link until the app is published: see assets/js/site.js PLAY_URL) */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 12px 22px 12px 18px; border-radius: 14px; text-align: left; }
.play:hover { background: #000; color: #fff; }
.play img { width: 20px; height: 22px; }
.play span { display: flex; flex-direction: column; line-height: 1.1; }
.play small { font-size: 10px; font-weight: 500; opacity: .65; }
.play strong { font-size: 17px; font-weight: 800; }
.play-light { background: #fff; color: var(--ink); }
.play-light:hover { background: var(--brand-soft); color: var(--ink); }
.play-sm { padding: 10px 18px 10px 14px; border-radius: 12px; }
.play-sm img { width: 18px; height: 20px; }
.play-sm small { font-size: 9px; }
.play-sm strong { font-size: 15px; }

/* Dark footer of the small pages */
.mini-footer { background: var(--ink); color: #BFC2D8; }
.mini-footer .wrap { padding-block: 22px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; font-weight: 500; }
.mini-footer b { font-weight: 800; color: #fff; }
.mini-footer b i { font-style: normal; color: var(--pink-on-dark); }
.mini-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.mini-footer a { color: #fff; }
.mini-footer a:hover { color: var(--amber); }

/* Pages that hold both languages in the HTML (the terms): mark each block t-en or t-hi (and give it lang=""); only the chosen one shows */
html[data-lang="en"] .t-hi,
html[data-lang="hi"] .t-en { display: none !important; }
