/* Hedgie DA — shared layer (all pages). Source: ~/hedgie/tools/da/hedgie.css
   From the user's logo + banner: glossy green ribbons, diagonal stripes, white bubbly wordmark (Gluten). */
:root {
  --hg-forest-900: #050f04;
  --hg-forest-800: #081806;
  --hg-forest-700: #0e2a0a;
  --hg-forest-600: #1a4410;
  --hg-leaf-500: #377210;
  --hg-leaf-400: #5b9626;
  --hg-lime-300: #95c45d;
  --hg-lime-200: #b9df85;
  --hg-mist-100: #e3efd2;
  --hg-cream: #f6f9ee;
  --hg-gloss: linear-gradient(135deg, #a9d873 0%, #5f9b2a 42%, #2a640c 78%, #164308 100%);
  --hg-stripes: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 13px);
  --display: "Gluten", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --hg-radius: 22px;
}
:root, :root[data-theme="light"] {
  --bg-base: radial-gradient(1100px 620px at 88% -8%, rgba(149,196,93,.30), transparent 62%),
             radial-gradient(900px 640px at -12% 38%, rgba(185,223,133,.28), transparent 60%),
             linear-gradient(180deg, #f7faef 0%, #edf4e1 100%);
  --hg-card: rgba(255,255,255,.78);
  --hg-card-2: rgba(255,255,255,.92);
  --hg-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 50px -24px rgba(26,68,16,.30);
  --hg-glow: rgba(55,114,16,.18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-base: radial-gradient(1200px 640px at 88% -10%, rgba(91,150,38,.26), transparent 60%),
               radial-gradient(900px 700px at -14% 42%, rgba(55,114,16,.20), transparent 62%),
               linear-gradient(180deg, #071606 0%, #050f04 100%);
    --hg-card: rgba(20,52,14,.42);
    --hg-card-2: rgba(22,58,15,.62);
    --hg-shadow: 0 1px 0 rgba(214,240,180,.07) inset, 0 24px 60px -28px rgba(0,0,0,.65);
    --hg-glow: rgba(166,219,99,.22);
  }
}
:root[data-theme="dark"] {
  --bg-base: radial-gradient(1200px 640px at 88% -10%, rgba(91,150,38,.26), transparent 60%),
             radial-gradient(900px 700px at -14% 42%, rgba(55,114,16,.20), transparent 62%),
             linear-gradient(180deg, #071606 0%, #050f04 100%);
  --hg-card: rgba(20,52,14,.42);
  --hg-card-2: rgba(22,58,15,.62);
  --hg-shadow: 0 1px 0 rgba(214,240,180,.07) inset, 0 24px 60px -28px rgba(0,0,0,.65);
  --hg-glow: rgba(166,219,99,.22);
}
html { background: var(--bg-base); background-color: var(--ground); }
body { font-family: var(--text); }
::selection { background: var(--hg-lime-300); color: #0a1f05; }
* { scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent; }

/* brand mark / wordmark svgs (traced from the user's files) */
.hg-mark, .hg-word { display: block; fill: currentColor; }
svg.hg-mark { color: var(--ink); }
.hg-word { height: 1em; width: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
