/* ==========================================================================
   Click India — design tokens
   Brand colours sampled from the supplied logo (new blue/gold/green/teal logo).
   Change the brand here and every page follows.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --brand: #0b4d8c;          /* logo royal blue (the C) */
  --brand-600: #0a3f74;
  --brand-700: #07325d;
  --brand-100: #d5e3f3;
  --brand-50: #edf3fa;

  --accent: #a57d45;         /* logo gold (pixel squares) — fills, large type */
  --accent-text: #74552a;    /* gold for small text (AA on white) */
  --accent-100: #efe2cd;
  --accent-50: #faf5ec;

  --teal: #2a93ae;           /* logo wordmark teal */
  --teal-bright: #5ec4de;    /* teal on dark surfaces */
  --green: #12702f;          /* logo green block */
  --green-bright: #3fb062;   /* green on dark surfaces */

  /* Chart series (principal / interest), validated for colour-blind separation */
  --chart-p: #1a5fa3;
  --chart-i: #a8792f;
  --chart-p-dark: #3b98da;
  --chart-i-dark: #bb8a34;

  /* Neutrals */
  --ink: #0f1b2d;            /* headings */
  --ink-2: #3b4659;          /* body */
  --muted: #5f6b7d;          /* secondary text */
  --line: #e2e7ef;
  --line-strong: #cbd3df;
  --paper: #f4f7fb;          /* alternate section background */
  --surface: #ffffff;
  --bg: #ffffff;

  /* Dark surfaces (deep navy, derived from the brand blue) */
  --night: #04122a;
  --night-2: #0a2147;
  --night-3: #12336a;
  --on-night: #eef4fb;
  --on-night-muted: rgba(238, 244, 251, 0.7);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-line: rgba(255, 255, 255, 0.18);

  /* Signature gradients */
  --grad-brand: linear-gradient(135deg, #0b4d8c 0%, #07325d 100%);
  --grad-ember: linear-gradient(120deg, #0b4d8c 0%, #2a93ae 45%, #a57d45 100%);
  --grad-night: radial-gradient(120% 90% at 85% 10%, #164f8e 0%, #0a2147 42%, #04122a 100%);

  /* Feedback */
  --success: #12702f;
  --danger: #c0302d;
  --danger-50: #fdecec;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Type scale (major third, fluid at the top end) */
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1rem;      /* 16 */
  --fs-md: 1.125rem;    /* 18 */
  --fs-lg: 1.375rem;    /* 22 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.625rem);
  --fs-3xl: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  --fs-4xl: clamp(2.5rem, 1.2rem + 4.2vw, 4.625rem);

  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Spacing (8px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 92px;           /* island height + top offset */

  /* Radii — by hierarchy, not one value for everything */
  --r-xs: 4px;     /* pixel squares, tags */
  --r-sm: 8px;     /* inputs, small buttons */
  --r-md: 14px;    /* panels */
  --r-lg: 22px;    /* hero card, feature blocks */
  --r-pill: 999px;

  /* Shadows (crimson-tinted, not flat grey) */
  --shadow-1: 0 1px 2px rgba(4, 18, 42, 0.06), 0 1px 1px rgba(4, 18, 42, 0.04);
  --shadow-2: 0 10px 24px -12px rgba(4, 18, 42, 0.18), 0 2px 6px rgba(4, 18, 42, 0.05);
  --shadow-3: 0 30px 60px -28px rgba(4, 18, 42, 0.32), 0 8px 18px -10px rgba(4, 18, 42, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 140ms;
  --t-base: 240ms;
  --t-slow: 480ms;

  --focus-ring: 0 0 0 3px #fff, 0 0 0 5px var(--brand);
}
