/* LinkMatch · Brand system 2.0 · "Common Ground" · 2026-10-14 */
:root {
  --lm-forest-950:#071A17; --lm-forest-900:#0B211F; --lm-forest-800:#102C29; --lm-forest-700:#16403A; --lm-forest-600:#1F544C;
  --lm-forest-500:#2E6B60; --lm-forest-400:#4E8A7D; --lm-forest-300:#7FAEA2; --lm-forest-200:#B1C2B9; --lm-forest-100:#D8DED5;
  --lm-lime-900:#4C6A00; --lm-lime-700:#A6D21C; --lm-lime-600:#C4EE3F; --lm-lime-500:#D6FA66; --lm-lime-300:#E4FC95; --lm-lime-200:#EFFDC2; --lm-lime-100:#F7FEE1;
  --lm-paper:#F5F4ED; --lm-chalk:#FFFFFF; --lm-bone:#ECEAE2; --lm-sand:#D8DED5; --lm-graphite:#56655E;
  --lm-lilac:#CBC3F4; --lm-lilac-ink:#5B4BC9; --lm-apricot:#F4B794; --lm-apricot-ink:#A24E1E; --lm-sky:#BDDEE7; --lm-sky-ink:#1F5F78;
  --lm-success:#146C45; --lm-success-bg:#E8F4EB; --lm-warning:#795600; --lm-warning-bg:#FFF1CB; --lm-error:#AE3731; --lm-error-bg:#FDE9E6;

  /* Day theme (default) */
  --lm-bg:#F5F4ED; --lm-bg-2:#FFFFFF; --lm-surface:#FFFFFF; --lm-surface-2:#ECEAE2; --lm-border:#D8DED5;
  --lm-text:#102C29; --lm-muted:#56655E; --lm-faint:#8E9B95;
  --lm-primary:#102C29; --lm-on-primary:#D6FA66; --lm-accent:#D6FA66; --lm-accent-text:#4C6A00; --lm-live:#146C45;

  --lm-font-display:"URW Gothic", "Gothic", "Noto Sans Hebrew", Arial, sans-serif;
  --lm-font-hebrew:"Noto Sans Hebrew", "Noto Hebrew", Arial, sans-serif;
  --lm-font-mono:"JetBrains Mono", ui-monospace, Menlo, monospace;
  /* editorial layer: one thin statement per section, one accent word inside it.
     Hebrew accent = the same clean sans at weight 400 (no serif); Latin accent = Instrument Serif Italic */
  --lm-font-thin:"Noto Sans Hebrew", "Outfit", Arial, sans-serif;
  --lm-font-thin-latin:"Outfit", "Noto Sans Hebrew", Arial, sans-serif;
  --lm-font-accent:"Noto Sans Hebrew", Arial, sans-serif;
  --lm-font-accent-latin:"Instrument Serif", Georgia, serif;

  --lm-radius-control:12px; --lm-radius-card:24px; --lm-radius-panel:32px; --lm-radius-pill:999px;
  --lm-space:4px; --lm-feedback:160ms; --lm-transition:260ms; --lm-reveal:600ms;
  --lm-ease:cubic-bezier(.22,1,.36,1); --lm-ease-out:cubic-bezier(.16,1,.3,1);
}
[data-lm-theme="night"] {
  --lm-bg:#0B211F; --lm-bg-2:#102C29; --lm-surface:#16403A; --lm-surface-2:#1F544C; --lm-border:#2A4A44;
  --lm-text:#F5F4ED; --lm-muted:#B1C2B9; --lm-faint:#4E8A7D;
  --lm-primary:#D6FA66; --lm-on-primary:#102C29; --lm-accent:#D6FA66; --lm-accent-text:#D6FA66; --lm-live:#D6FA66;
}
.lm-button { min-height:44px; padding:12px 22px; border:0; border-radius:var(--lm-radius-pill); background:var(--lm-primary); color:var(--lm-on-primary); font:600 15px/1 var(--lm-font-hebrew); cursor:pointer; transition:transform var(--lm-feedback) var(--lm-ease), box-shadow var(--lm-transition) var(--lm-ease); }
.lm-button:hover { transform:translateY(-1px); box-shadow:0 12px 30px -12px rgba(16,44,41,.45); }
.lm-button:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.lm-card { padding:24px; border:1px solid var(--lm-border); border-radius:var(--lm-radius-card); background:var(--lm-surface); color:var(--lm-text); }
.lm-live::before { content:""; display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--lm-live); animation:lm-pulse 1.8s var(--lm-ease) infinite; margin-inline-end:8px; }
@keyframes lm-pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--lm-live) 55%,transparent)} 100%{box-shadow:0 0 0 12px transparent} }
@media (prefers-reduced-motion:reduce) { .lm-button,.lm-card,.lm-live::before { animation:none!important; transition:none!important; } }
