/* ConnectedThinking design tokens (by MACProject)
   Sourced from the brand files unless marked PROPOSED. */

/* ---------- Fonts (all SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype");
}
/* Inter variable. No italic file is supplied: browsers synthesise italic. */
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Inter-Variable.ttf") format("truetype");
}
@font-face {
  font-family: "Kanit";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Kanit-Regular.ttf") format("truetype");
}

:root {
  /* ---------- Colours (sourced) ---------- */
  --color-blue: #0057B8;          /* primary: links, H2, rules, bullets, section bg */
  --color-ink: #0A0A0A;           /* near-black: text, titles, dark bg */
  --color-white: #FFFFFF;
  --color-grey-dark: #4A4A4A;     /* secondary text, footer, Bahasa Indonesia text */
  --color-blue-light: #3D8BFF;    /* blue on dark backgrounds only */
  --color-blue-deep: #003F87;     /* reserve / hover-dark (theme accent3, unused) */
  --color-blue-pale: #E6EFFA;     /* callouts, table headers */
  --color-offwhite: #F2F5F9;      /* card/panel fills */
  --color-grey-mid: #B5B5B5;      /* secondary text on dark */
  --color-grey-line: #D9DEE5;     /* borders, gridlines */

  /* Ratings */
  --color-rating-high: #C62828;
  --color-rating-medium: #B26A00;
  --color-rating-low: #1E7B34;

  /* ---------- Font families (Arial fallback) ---------- */
  --font-heading: "Poppins", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-label: "Kanit", Arial, sans-serif;

  /* ---------- Font weights ---------- */
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ---------- Type sizes (from Word template, in pt) ---------- */
  --size-title: 28pt;
  --size-h1: 20pt;
  --size-h2: 15pt;
  --size-h3: 12pt;
  --size-subtitle: 13pt;
  --size-body: 10.5pt;
  --size-eyebrow: 10pt;           /* letter-spaced */
  --size-footer: 8pt;

  /* ---------- Spacing: PROPOSED default, NOT from the brand files ---------- */
  /* Simple 4px-based scale. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* ---------- Radius ---------- */
  /* Sourced: icons use rx 112 on a 512 box (about 22%); avatar is a full circle. */
  --radius-icon: 22%;
  --radius-full: 9999px;
  /* PROPOSED, not from the brand files: web UI radii */
  --radius-sm: 4px;
  --radius-md: 8px;
}
