/* Light palette for the public site. Loaded after the generated stylesheet. */
html.light {
  color-scheme: light;
  /* Darker text and link tones for legibility on the off-white background
     (body copy ~7.5:1, links ~5.7:1 against the page colour). */
  --foreground: 20 25% 10%;
  --card-foreground: 20 25% 10%;
  --secondary-foreground: 20 25% 10%;
  --muted-foreground: 20 18% 32%;
  --primary: 18 70% 38%;
  --ring: 18 70% 38%;
  --accent: 30 45% 34%;
  --gradient-hero: linear-gradient(180deg, hsl(40 33% 98%) 0%, hsl(39 24% 94%) 100%);
  --gradient-card: linear-gradient(135deg, hsl(40 30% 98%) 0%, hsl(40 23% 94%) 100%);
  --shadow-soft: 0 10px 35px hsl(20 20% 20% / .12);
  --shadow-glow: 0 0 40px hsl(18 65% 45% / .12);
}

html.light nav .bg-background\/98 {
  background-color: hsl(var(--background) / .98);
}

section[id] {
  scroll-margin-top: 5rem;
}

/* Default (subpixel) smoothing renders the serif strokes heavier than
   "antialiased" does on light backgrounds, which reads more easily. */
html.light body {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
