/* Values below are lifted from the reference site's style.css (Abhaya Libre display face, 46px header, etc.) */
:root {
  --bg: #0d0d0d;
  --ink: #ffffff;
  --ink-dim: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.28);
  --glass: rgba(13,13,13,.72);

  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --nav-h: calc(46px + env(safe-area-inset-top, 0px));

  /* per-language type settings (overridden below) */
  --font-display: 'Abhaya Libre', Georgia, serif;                       /* hero title + links (italic is browser-synthesised, like the reference) */
  --font-ui: 'MS UI Gothic', 'MS Gothic', sans-serif;                   /* header buttons */
  --lh: 1.55;    /* body line-height */
  --ts: 1;       /* title size multiplier */
  --cs: 1;       /* link size multiplier */
}
[data-theme="light"] {
  --bg: #fcfcfc;
  --ink: #0d0d0d;
  --ink-dim: rgba(13,13,13,.62);
  --line: rgba(13,13,13,.3);
  --glass: rgba(252,252,252,.78);
}

/* Indic scripts: Abhaya Libre has no Indic glyphs, so the browser falls through per-glyph to the
   Tiro Typeworks serif (true italics) while any Latin letters stay in Abhaya Libre. */
html[lang="hi"] {
  --font-display: 'Abhaya Libre', "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
  --font-ui: 'MS UI Gothic', 'MS Gothic', "Noto Sans Devanagari", sans-serif;
  --lh: 1.8; --ts: .82; --cs: .9;
}
html[lang="ta"] {
  --font-display: 'Abhaya Libre', "Tiro Tamil", "Noto Serif Tamil", Georgia, serif;
  --font-ui: 'MS UI Gothic', 'MS Gothic', "Noto Sans Tamil", sans-serif;
  --lh: 1.8; --ts: .72; --cs: .86;
}
html[lang="te"] {
  --font-display: 'Abhaya Libre', "Tiro Telugu", "Noto Serif Telugu", Georgia, serif;
  --font-ui: 'MS UI Gothic', 'MS Gothic', "Noto Sans Telugu", sans-serif;
  --lh: 1.8; --ts: .78; --cs: .88;
}
