@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/brand/fonts/libre-franklin-latin.woff2) format('woff2'); }

/* mayfair: primary #ce004b, from the Pocket-ID accent (darkened where text needs the contrast). :root:root beats Gatus's own :root, which loads after this. */
:root:root {
  --background: 338.2 40% 98.8%;   --foreground: 338.2 15% 10%;
  --card: 0 0% 100%;    --card-foreground: 338.2 15% 10%;
  --popover: 0 0% 100%; --popover-foreground: 338.2 15% 10%;
  --primary: 338.2 100.0% 40.4%;       --primary-foreground: 0 0% 100%;
  --secondary: 338.2 25% 95%;   --secondary-foreground: 338.2 15% 10%;
  --muted: 338.2 25% 95%;       --muted-foreground: 338.2 8% 38%;
  --accent: 338.2 60% 96%;      --accent-foreground: 338.2 100.0% 40.4%;
  --border: 338.2 18% 90%;   --input: 338.2 18% 90%;  --ring: 338.2 100.0% 40.4%;
  --radius: 0.625rem;
}
:root:root.dark {
  --background: 338.2 14% 7%;  --foreground: 0 0% 93%;
  --card: 338.2 12% 10%;      --card-foreground: 0 0% 93%;
  --popover: 338.2 12% 10%;   --popover-foreground: 0 0% 93%;
  --primary: 342.0 100.0% 73.9%;      --primary-foreground: 338.2 14% 7%;
  --secondary: 338.2 10% 15%;  --secondary-foreground: 0 0% 93%;
  --muted: 338.2 10% 15%;      --muted-foreground: 338.2 6% 60%;
  --accent: 338.2 30% 13%;     --accent-foreground: 342.0 100.0% 73.9%;
  --border: 338.2 10% 18%;  --input: 338.2 10% 18%; --ring: 342.0 100.0% 73.9%;
}

body, #global { font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'tnum' 1; }
h1, h2, h3 { letter-spacing: -0.02em; }
.text-3xl, .text-4xl { font-weight: 800; letter-spacing: -0.035em; }

/* Header: the house's logo colours as a rule under it; Gatus's fixed tagline hidden */
header { border-bottom: 3px solid transparent !important;
  border-image: linear-gradient(90deg, #ce004b 0%, #ce004b 100%) 1 !important; }
header h1 + p { display: none; }
header h1 { font-weight: 700; letter-spacing: -0.025em; }
header nav a:hover { color: hsl(var(--primary)); }

/* Gatus's green accents (links, footer) in the house colour; status colours stay green/red */
.text-emerald-800, .text-emerald-600, footer a { color: hsl(var(--primary)) !important; }
a:hover.text-emerald-800 { opacity: .8; }
