@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'); }

/* barbican: primary #471a59, 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: 282.9 40% 98.8%;   --foreground: 282.9 15% 10%;
  --card: 0 0% 100%;    --card-foreground: 282.9 15% 10%;
  --popover: 0 0% 100%; --popover-foreground: 282.9 15% 10%;
  --primary: 282.9 54.8% 22.5%;       --primary-foreground: 0 0% 100%;
  --secondary: 282.9 25% 95%;   --secondary-foreground: 282.9 15% 10%;
  --muted: 282.9 25% 95%;       --muted-foreground: 282.9 8% 38%;
  --accent: 282.9 60% 96%;      --accent-foreground: 282.9 54.8% 22.5%;
  --border: 282.9 18% 90%;   --input: 282.9 18% 90%;  --ring: 282.9 54.8% 22.5%;
  --radius: 0.625rem;
}
:root:root.dark {
  --background: 282.9 14% 7%;  --foreground: 0 0% 93%;
  --card: 282.9 12% 10%;      --card-foreground: 0 0% 93%;
  --popover: 282.9 12% 10%;   --popover-foreground: 0 0% 93%;
  --primary: 280.3 45.3% 74.9%;      --primary-foreground: 282.9 14% 7%;
  --secondary: 282.9 10% 15%;  --secondary-foreground: 0 0% 93%;
  --muted: 282.9 10% 15%;      --muted-foreground: 282.9 6% 60%;
  --accent: 282.9 30% 13%;     --accent-foreground: 280.3 45.3% 74.9%;
  --border: 282.9 10% 18%;  --input: 282.9 10% 18%; --ring: 280.3 45.3% 74.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, #471a59 0%, #471a59 50%, #e41854 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; }
:root.dark header .w-12.h-12 img { content: url(/brand/castronuovo/logo-dark.png); }
:root.dark header { border-image: linear-gradient(90deg, #c9a2dc 0%, #e41854 100%) 1 !important; }
