@charset "UTF-8";

/* ==========================================================================
   BIZNET GIO — TYPOGRAPHY SYSTEM
   Single source of truth for every font, size, line-height, letter-spacing
   and weight on the site. Public Sans is the ONLY font family.

   Load this file LAST on every page. All other stylesheets reference the
   tokens below (var(--fs-*), var(--lh-*), var(--ls-*), var(--fw-*)) and must
   never declare raw font sizes, a font-family, or heading typography.

   Rules of the system
   1. Every font size is a multiple of 4px, except the deliberate 14px UI step (--fs-14).
   2. Every line-height sits on the 4px baseline grid.
   3. H1–H6 each have ONE global style (tokens --h1-* … --h6-*). Headings are
      never restyled by page, section or component; use colour, layout and
      spacing for emphasis instead.
   4. Text roles (body, UI, caption, label, overline, stat) are shared tokens.
   ========================================================================== */


/* ---------- 1. Font loading: Public Sans variable, wght 100–900, + italic ---------- */
/* Same files and unicode-range subsets that Google Fonts serves for
   https://fonts.google.com/specimen/Public+Sans (ital,wght@0,100..900;1,100..900). */

@font-face{
  font-family:"Public Sans";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  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:"Public Sans";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
  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:"Public Sans";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}
@font-face{
  font-family:"Public Sans";
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  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:"Public Sans";
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-latin-ext-wght-italic.woff2") format("woff2");
  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:"Public Sans";
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
  src:url("assets/fonts/public-sans-vietnamese-wght-italic.woff2") format("woff2");
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}


/* ---------- 2. Tokens ---------- */

:root{
  /* Family — the only one */
  --font-sans:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* Size scale: 4px steps, plus one intentional 14px UI step */
  --fs-4:4px;     /* SVG illustration micro-text only (user units, never HTML) */
  --fs-8:8px;     /* SVG illustration micro-text only (user units, never HTML) */
  --fs-12:12px;   /* caption, label, overline, badge, table head */
  --fs-14:14px;   /* UI: nav, buttons, links, inputs, tabs, table cells, spec values, H4 */
  --fs-16:16px;   /* body copy: paragraphs, descriptions, long-form reading */
  --fs-20:20px;   /* H3, lead, card title */
  --fs-24:24px;   /* stat / small numeral */
  --fs-28:28px;   /* responsive step only */
  --fs-32:32px;   /* stat / numeral */
  --fs-36:36px;   /* responsive step only */
  --fs-40:40px;   /* H2, numeral */
  --fs-48:48px;   /* numeral, responsive H1 */
  --fs-56:56px;   /* H1 */
  --fs-64:64px;   /* display numeral */

  /* Line-height: px on the 4px baseline grid, named by value */
  --lh-12:12px;
  --lh-16:16px;
  --lh-20:20px;
  --lh-24:24px;
  --lh-28:28px;
  --lh-32:32px;
  --lh-36:36px;
  --lh-40:40px;
  --lh-44:44px;
  --lh-48:48px;
  --lh-56:56px;
  --lh-64:64px;
  --lh-72:72px;
  /* Unitless fallbacks for elements whose size is set elsewhere */
  --lh-none:1;
  --lh-tight:1.2;
  --lh-snug:1.33;
  --lh-normal:1.5;
  --lh-relaxed:1.75;

  /* Letter-spacing: tighten as size grows, open up slightly when small/caps */
  --ls-0:0;
  --ls-caption:.01em;     /* 12px running text */
  --ls-label:.02em;       /* 12px labels, badges */
  --ls-overline:.06em;    /* 12px uppercase eyebrows */
  --ls-20:-.01em;
  --ls-24:-.015em;
  --ls-32:-.02em;
  --ls-40:-.025em;
  --ls-48:-.03em;

  /* Weights (variable font, 100–900; only these four are used) */
  --fw-regular:400;
  --fw-medium:500;
  --fw-semibold:600;
  --fw-bold:700;

  /* Headings — one global style per level */
  --h1-size:var(--fs-56);  --h1-lh:var(--lh-64);  --h1-ls:var(--ls-48);  --h1-weight:var(--fw-bold);
  --h2-size:var(--fs-40);  --h2-lh:var(--lh-48);  --h2-ls:var(--ls-40);  --h2-weight:var(--fw-bold);
  --h3-size:var(--fs-20);  --h3-lh:var(--lh-28);  --h3-ls:var(--ls-20);  --h3-weight:var(--fw-semibold);
  --h4-size:var(--fs-14);  --h4-lh:var(--lh-20);  --h4-ls:var(--ls-0);   --h4-weight:var(--fw-semibold);
  --h5-size:var(--fs-12);  --h5-lh:var(--lh-16);  --h5-ls:var(--ls-overline); --h5-weight:var(--fw-semibold);
  --h6-size:var(--fs-12);  --h6-lh:var(--lh-16);  --h6-ls:var(--ls-label);    --h6-weight:var(--fw-semibold);

  /* Text roles */
  --type-body-size:var(--fs-16);     --type-body-lh:var(--lh-28);      --type-body-ls:var(--ls-0);        --type-body-weight:var(--fw-regular);
  --type-ui-size:var(--fs-14);       --type-ui-lh:var(--lh-20);        --type-ui-ls:var(--ls-0);          --type-ui-weight:var(--fw-semibold);
  --type-lead-size:var(--fs-20);     --type-lead-lh:var(--lh-32);      --type-lead-ls:var(--ls-0);        --type-lead-weight:var(--fw-regular);
  --type-caption-size:var(--fs-12);  --type-caption-lh:var(--lh-20);   --type-caption-ls:var(--ls-caption);--type-caption-weight:var(--fw-regular);
  --type-label-size:var(--fs-12);    --type-label-lh:var(--lh-16);     --type-label-ls:var(--ls-label);   --type-label-weight:var(--fw-semibold);
  --type-overline-size:var(--fs-12); --type-overline-lh:var(--lh-16);  --type-overline-ls:var(--ls-overline); --type-overline-weight:var(--fw-semibold);
  --type-stat-size:var(--fs-32);     --type-stat-lh:var(--lh-40);      --type-stat-ls:var(--ls-32);       --type-stat-weight:var(--fw-semibold);
}

/* Heading tokens step down together at the site's existing breakpoints */
@media(max-width:960px){
  :root{
    --h1-size:var(--fs-48); --h1-lh:var(--lh-56);
    --h2-size:var(--fs-36); --h2-lh:var(--lh-44); --h2-ls:var(--ls-32);
  }
}
@media(max-width:700px){
  :root{
    --h1-size:var(--fs-40); --h1-lh:var(--lh-48); --h1-ls:var(--ls-40);
    --h2-size:var(--fs-32); --h2-lh:var(--lh-40);
  }
}
@media(max-width:375px){
  :root{
    --h1-size:var(--fs-36); --h1-lh:var(--lh-44);
    --h2-size:var(--fs-28); --h2-lh:var(--lh-36); --h2-ls:var(--ls-24);
  }
}


/* ---------- 3. Base ---------- */

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%
}
body{
  font-family:var(--font-sans);
  font-size:var(--type-body-size);
  line-height:var(--type-body-lh);
  letter-spacing:var(--type-body-ls);
  font-weight:var(--type-body-weight);
  font-style:normal;
  font-synthesis:none;
  font-optical-sizing:auto;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale
}


/* ---------- 4. Headings: ONE style per level, everywhere ---------- */

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-sans);
  font-style:normal;
  overflow-wrap:break-word
}
h1{font-size:var(--h1-size);line-height:var(--h1-lh);letter-spacing:var(--h1-ls);font-weight:var(--h1-weight)}
h2{font-size:var(--h2-size);line-height:var(--h2-lh);letter-spacing:var(--h2-ls);font-weight:var(--h2-weight)}
h3{font-size:var(--h3-size);line-height:var(--h3-lh);letter-spacing:var(--h3-ls);font-weight:var(--h3-weight)}
h4{font-size:var(--h4-size);line-height:var(--h4-lh);letter-spacing:var(--h4-ls);font-weight:var(--h4-weight)}
h5{font-size:var(--h5-size);line-height:var(--h5-lh);letter-spacing:var(--h5-ls);font-weight:var(--h5-weight);text-transform:uppercase}
h6{font-size:var(--h6-size);line-height:var(--h6-lh);letter-spacing:var(--h6-ls);font-weight:var(--h6-weight)}


/* ---------- 5. Text elements ---------- */

p{
  font-size:var(--type-body-size);
  line-height:var(--type-body-lh);
  letter-spacing:var(--type-body-ls)
}
strong,b{font-weight:var(--fw-semibold)}

/* Italics: emphasis inside running prose uses the true italic face.
   Elsewhere <em>/<i>/<cite>/<address> are structural tags, never slanted. */
em,i,cite,dfn,address{font-style:normal}
:where(p,li,dd,blockquote) :where(em,cite,dfn){font-style:italic}

small{
  font-size:var(--type-caption-size);
  line-height:var(--type-caption-lh);
  letter-spacing:var(--type-caption-ls)
}
sub,sup{
  font-size:var(--fs-12);
  line-height:var(--lh-12)
}

/* Form controls use the one family. Buttons and inputs inherit their text role
   from the component (shared reset in styles.css); select and textarea have no
   inheriting reset, so they get the UI role (14px). */
button,input,select,textarea,optgroup{
  font-family:var(--font-sans);
  letter-spacing:inherit
}
select,textarea{
  font-size:var(--type-ui-size);
  line-height:var(--type-ui-lh);
  letter-spacing:var(--type-ui-ls)
}
label,legend{
  font-family:var(--font-sans)
}

/* Tables */
table{
  font-variant-numeric:tabular-nums
}
th{
  font-weight:var(--fw-semibold)
}

/* Code and terminal samples use Public Sans too, with figures that align */
code,kbd,samp,pre{
  font-family:var(--font-sans);
  font-variant-numeric:tabular-nums;
  font-variant-ligatures:none;
  font-feature-settings:"liga" 0,"calt" 0
}


/* ---------- 6. Role utilities (opt-in, for new components) ---------- */

.t-lead{font-size:var(--type-lead-size);line-height:var(--type-lead-lh);letter-spacing:var(--type-lead-ls);font-weight:var(--type-lead-weight)}
.t-body{font-size:var(--type-body-size);line-height:var(--type-body-lh);letter-spacing:var(--type-body-ls);font-weight:var(--type-body-weight)}
.t-ui{font-size:var(--type-ui-size);line-height:var(--type-ui-lh);letter-spacing:var(--type-ui-ls);font-weight:var(--type-ui-weight)}
.t-caption{font-size:var(--type-caption-size);line-height:var(--type-caption-lh);letter-spacing:var(--type-caption-ls);font-weight:var(--type-caption-weight)}
.t-label{font-size:var(--type-label-size);line-height:var(--type-label-lh);letter-spacing:var(--type-label-ls);font-weight:var(--type-label-weight)}
.t-overline{font-size:var(--type-overline-size);line-height:var(--type-overline-lh);letter-spacing:var(--type-overline-ls);font-weight:var(--type-overline-weight);text-transform:uppercase}
.t-stat{font-size:var(--type-stat-size);line-height:var(--type-stat-lh);letter-spacing:var(--type-stat-ls);font-weight:var(--type-stat-weight);font-variant-numeric:tabular-nums}
