/* =========================================================
   Chetak Ply — Design Tokens (v2 — Red/Blue/White system)
   Source of truth for palette, typography, motion.
   ========================================================= */

:root {
  /* --- Palette --- */
  --c-red:        #E1251B;  /* primary CTA, accents, stat numbers, HDMR */
  --c-red-deep:   #B01A12;  /* hover / pressed */
  --c-blue-deep:  #0D3B66;  /* dark sections, hero visuals, Blue CTAs */
  --c-blue-soft:  #E5EEF5;  /* pale section bg, timeline */
  --c-white:      #FFFFFF;
  --c-off-white:  #F7F5F2;  /* warm section bg, cards */
  --c-ink:        #0B0B0C;  /* primary text, display */
  --c-grey:       #5B5F66;  /* secondary text */
  --c-line:       #D9D9D9;  /* dividers, card borders */
  --c-line-soft:  #ECECEC;

  /* --- Semantic aliases --- */
  --c-bg:          var(--c-white);
  --c-text:        var(--c-ink);
  --c-text-soft:   var(--c-grey);
  --c-accent:      var(--c-red);
  --c-accent-alt:  var(--c-blue-deep);

  /* --- Typography stacks --- */
  --font-display: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --font-narrow:  'Archivo Narrow', 'Archivo', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hindi:   'Tiro Devanagari Hindi', Georgia, serif;

  /* --- Fluid type scale --- */
  --fs-h1-hero: clamp(56px, 9vw, 128px);
  --fs-h1:      clamp(40px, 6vw, 84px);
  --fs-h2:      clamp(32px, 4.5vw, 64px);
  --fs-h2-big:  clamp(40px, 6vw, 96px);
  --fs-h3:      clamp(22px, 2.5vw, 32px);
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-eyebrow: 12px;

  /* --- Weights --- */
  --fw-black: 900;
  --fw-x:     800;
  --fw-bold:  700;
  --fw-mid:   600;
  --fw-med:   500;
  --fw-reg:   400;

  /* --- Line heights --- */
  --lh-display: 0.92;
  --lh-h1:      1.02;
  --lh-h2:      1.06;
  --lh-h3:      1.2;
  --lh-body:    1.55;

  /* --- Letter spacing --- */
  --ls-hero:    -0.035em;
  --ls-h2:      -0.02em;
  --ls-eyebrow: 0.12em;
  --ls-narrow:  0.02em;

  /* --- Layout --- */
  --prose-width: 52ch;
  --content-max: 1320px;
  --gutter:      clamp(16px, 4vw, 48px);

  /* --- Motion --- */
  --ease:            cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-fast:   200ms;
  --duration-normal: 400ms;
  --duration-slow:   600ms;

  /* --- Elevation --- */
  --shadow-card:       0 2px 8px rgba(11, 11, 12, 0.06);
  --shadow-card-hover: 0 16px 40px rgba(11, 11, 12, 0.10);
  --shadow-header:     0 2px 20px rgba(11, 11, 12, 0.06);
}

/* =========================================================
   Base resets + body defaults
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   Typography defaults
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--c-ink);
  margin: 0 0 0.5em;
  letter-spacing: var(--ls-h2);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-x);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
}

p {
  max-width: var(--prose-width);
  margin: 0 0 1em;
}

a {
  color: var(--c-red);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

a:hover {
  color: var(--c-ink);
}

/* =========================================================
   Utility patterns
   ========================================================= */

.c-eyebrow {
  display: inline-block;
  font-family: var(--font-narrow);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-red);
}

.c-hindi {
  font-family: var(--font-hindi);
  font-style: italic;
  color: var(--c-red);
}

.c-red       { color: var(--c-red); }
.c-blue-deep { color: var(--c-blue-deep); }
.c-grey      { color: var(--c-grey); }

/* Red-dot bullet separator for inline lists. */
.c-bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-red);
  vertical-align: middle;
  margin: 0 10px;
}

/* Motion rule — tiny red line used as a divider accent. */
.c-motion-rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--c-red);
  border: 0;
  margin: 0 0 12px;
}

.c-motion-rule--short { width: 40px; }
.c-motion-rule--long  { width: 96px; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}
