/* -----------------------------------------------------------
   Typography & Brand (generated by TypographyCssController)
   Fonts: Public Sans + Noto Sans (fallback for extended diacritics)
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300..900;1,300..900&family=Noto+Sans:wght@400;600;700&display=swap');

:root{
  --font-sans: "Public Sans","Noto Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;
  --color-primary: #1d70b8;
  --color-text: #0b0c0c;
}

html, body {
  font-family: var(--font-sans);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums tabular-nums;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
}

strong, b { font-weight: 700; }
em, i { font-style: italic; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons & simple controls that rely on brand color */
button, .btn, .gc-btn.primary {
  font-family: var(--font-sans);
}

/* Forms */
input, select, textarea {
  font-family: var(--font-sans);
}

/* Utility (optional) */
.govuk-body, .govuk-link, .govuk-heading-xl, .govuk-heading-l, .govuk-heading-m, .govuk-heading-s {
  font-family: var(--font-sans);
}

/* Keep background light in all modes */
:root { color-scheme: light; }