/* Dil Se's colours, sizes and type, light and dark: one copy for Dil Se and Imbibe.
   Tokens read from storybook.heartfulness.org. Values are theirs; the mapping onto this page is
   ours. Public Sans is their only face, so hierarchy comes from weight. */
:root{
  /* Heartfulness design system, read from storybook.heartfulness.org on 18 September 2026.
     Ramp names and values are theirs; only the mapping onto this page is ours. */
  --color-primary-50:#e6ebf5; --color-primary-75:#96abd5; --color-primary-100:#6b89c4;
  --color-primary-200:#2b56aa; --color-primary-300:#003399; --color-primary-400:#00246b;
  --color-primary-500:#001f5d;
  --color-teal-300:#005f5f; --color-teal-200:#2b7a7a; --color-teal-50:#e6efef;
  --color-secondary-300:#8e24a0; --color-secondary-50:#f4e9f6;
  --color-secondary-alt-300:#8b001f; --color-secondary-alt-50:#f3e6e9;
  --color-tertiary-300:#3a4a3f; --color-tertiary-50:#ebedec;
  --color-accent-300:#12b76a; --color-accent-50:#e7f8f0;
  --color-warning-300:#f79009; --color-warning-50:#fef4e6;
  --color-error-300:#f04438;
  --color-gray-50:#e8e8e9; --color-gray-100:#b7b9bb; --color-gray-200:#94979a;
  --color-gray-300:#63676c; --color-gray-400:#454950; --color-gray-500:#161c24;

  --radius-sm:.25rem; --radius-md:.375rem; --radius-lg:.5rem; --radius-xl:.75rem;
  --radius-2xl:1rem;
  --tracking-tight:-.025em; --tracking-wide:.025em; --tracking-widest:.1em;

  /* This page, expressed in their tokens. The five lanes take five different ramps so a
     reader can tell them apart, which the system supports and does not name. */
  --brand:var(--color-primary-300); --brand-deep:var(--color-primary-400);
  --spiritual:var(--color-primary-200); --health:var(--color-teal-300);
  --wealth:var(--color-tertiary-300); --family:var(--color-secondary-alt-300);
  --personal:var(--color-secondary-300);
  /* Who a topic is for (Venkat, 24 October 2026). Blue and orange, which stay apart under every
     kind of colour blindness (Giri is colour blind); the Preceptor bar is also dashed, so colour is
     never the only sign. Teal and rose were 10 apart for deuteranopia, against 34 for these. */
  --aud-abhyasi:#1f6fd1; --aud-preceptor:#d9750b;
  /* Their warning ramp. It is the only warm colour the system has, and it is used here the
     way the system uses it, for a rule and a mark, never as body text. */
  --saffron:var(--color-warning-300); --saffron-wash:var(--color-warning-50);
  /* Saffron as TEXT. The wash is light and the ramp colour is too pale to read on
     it, so writing needs a darker one. In dark the wash is nearly black and the
     ramp colour is the readable one, so the two swap. */
  /* The system's green and red are ramp colours, made to be seen rather than read. On white
     #12b76a is 2.6 to 1 and #f04438 is 3.8, and both are used as small text: "Link copied" and
     the line under the contact box saying a number is too short. Darkened here for the light
     theme only, the same way --saffron-ink exists because the saffron ramp cannot be read on
     its own wash. In dark the ramp colours are the readable ones and are used as they are. */
  --saffron-ink:#8a5100; --ok:#087a45; --danger:#b42318;
  /* What is written ON a filled control. White, until dark.
     Every filled button takes its background from --brand or from a lane colour, and in dark
     both of those are LIGHTENED: --brand goes from #003399 to #96abd5 and the lane colours to
     pastels. White on #96abd5 is about 2 to 1 and cannot be read. So the ink on a fill is a
     token of its own and it flips with the theme. */
  --on-brand:#ffffff;
  color-scheme:light;
  --ink:var(--color-gray-500); --ink-soft:var(--color-gray-400);
  --ink-faint:var(--color-gray-300);
  --page:#f6f7f9; --panel:#ffffff; --tint:#fafbfc; --wash:var(--color-primary-50);
  --rule:var(--color-gray-50); --rule-soft:#f1f1f2;
  --display:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --sans:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --lift:0 1px 2px rgba(22,28,36,.05), 0 14px 40px rgba(22,28,36,.07);
  --lift-sm:0 1px 2px rgba(22,28,36,.05), 0 6px 18px rgba(22,28,36,.06);
  /* About this collection's infographic cards (figures.js): the card, its one mark colour, the
     track a ring or bar fills, the gridlines and the soft area under the line. */
  --f-card:#f1f4fb; --f-mark:var(--color-primary-200); --f-track:#dde4f2; --f-grid:#e1e6ef;
  --f-area:rgba(43,86,170,.1);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --on-brand:#0e1319; --saffron-ink:#fcd19a; --ok:#5fc496; --danger:#f0897c;
  --brand:var(--color-primary-75); --brand-deep:var(--color-primary-50);
  --spiritual:var(--color-primary-75); --health:#6ba2a2;
  --wealth:#aeb5b0; --family:#cf96a3; --personal:#d1a5d8;
  --aud-abhyasi:#6ea8f2; --aud-preceptor:#f2a24b;
  --saffron:#fcd19a; --saffron-wash:#2a2014;
  --ink:#e8e8e9; --ink-soft:#b7b9bb; --ink-faint:#94979a;
  --page:#090c0f; --panel:#141921; --tint:#10141a; --wash:#10141a;
  --rule:#2a2f36; --rule-soft:#1c2128;
  --lift:0 1px 2px rgba(0,0,0,.34), 0 14px 40px rgba(0,0,0,.3);
  --lift-sm:0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.26);
  --f-card:#0e1524; --f-mark:#6a8fe0; --f-track:#1f2b45; --f-grid:#1d2536;
  --f-area:rgba(106,143,224,.14);
}}
:root[data-theme="dark"]{
  color-scheme:dark;
  --on-brand:#0e1319; --saffron-ink:#fcd19a; --ok:#5fc496; --danger:#f0897c;
  --brand:var(--color-primary-75); --brand-deep:var(--color-primary-50);
  --spiritual:var(--color-primary-75); --health:#6ba2a2;
  --wealth:#aeb5b0; --family:#cf96a3; --personal:#d1a5d8;
  --aud-abhyasi:#6ea8f2; --aud-preceptor:#f2a24b;
  --saffron:#fcd19a; --saffron-wash:#2a2014;
  --ink:#e8e8e9; --ink-soft:#b7b9bb; --ink-faint:#94979a;
  --page:#090c0f; --panel:#141921; --tint:#10141a; --wash:#10141a;
  --rule:#2a2f36; --rule-soft:#1c2128;
  --lift:0 1px 2px rgba(0,0,0,.34), 0 14px 40px rgba(0,0,0,.3);
  --lift-sm:0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.26);
  --f-card:#0e1524; --f-mark:#6a8fe0; --f-track:#1f2b45; --f-grid:#1d2536;
  --f-area:rgba(106,143,224,.14);
}
