/* Shared COSY design foundation. Fonts, tokens, base and layout are owned by
   COSYlanguages (the public shared-asset repo); practice keeps only its own components. */
@import url("https://cosylanguages.github.io/COSYlanguages/css/fonts.css");
@import url("https://cosylanguages.github.io/COSYlanguages/shared/css/tokens.css");
@import url("https://cosylanguages.github.io/COSYlanguages/css/base.css");
@import url("https://cosylanguages.github.io/COSYlanguages/css/components.css");
@import url("https://cosylanguages.github.io/COSYlanguages/css/layout.css");

/* Brand colours as text need a lighter twin in dark mode: the shared
   --coral / --sage-deep values are fills (dark) or ink that flips to a
   near-white tint, so neither is safe as body text in both themes. */
:root {
  --coral-ink: #B84318;
  --sage-ink: #375742;
  --on-brand: #FFFFFF;
}
html[data-theme="dark"], body.theme-dark {
  --coral-ink: #F08968;
  --sage-ink: #A8BCA9;
}

/* Placeholder text must clear 4.5:1 in both themes */
input::placeholder, textarea::placeholder {
  color: color-mix(in srgb, currentColor 70%, transparent);
  opacity: 1;
}
