/* ==========================================================================
   THEME — "HearSay"
   From the Card Architectures mockup: white cards on a pale grey page, ink,
   one blue accent; Space Grotesk + Inter. Light and dark (follows the phone).
   Overrides token VALUES only. Never add structural CSS to a theme file.
   ========================================================================== */

[data-theme="hearsay"] {
  color-scheme: light;
  --c-bg:          #f4f5f8;
  --c-bg-raised:   #ffffff;
  --c-bg-sunken:   #eceef3;

  --c-ink:         #141824;
  --c-ink-soft:    #4f5565;
  --c-ink-faint:   #7d8392;

  --c-line:        #dde1e7;
  --c-line-strong: #c3c9d3;

  --c-accent:       #1f4fc7;
  --c-accent-hover: #1a43a8;
  --c-accent-ink:   #ffffff;
  --c-accent-soft:  #eef2fd;

  --c-second:      #7a4bc4;
  --c-second-soft: #f0e9fb;

  --c-ok:        #1f7a3a;
  --c-ok-soft:   #e8f5ec;
  --c-warn:      #9a5b00;
  --c-warn-soft: #fff4e0;
  --c-bad:       #b42318;
  --c-bad-soft:  #fdf0ef;

  --c-focus:     #1f4fc7;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --track-display: -0.01em;

  --shadow-1: 0 1px 2px rgb(20 24 36 / 0.06);
  --shadow-2: 0 1px 2px rgb(20 24 36 / 0.06), 0 8px 24px rgb(20 24 36 / 0.06);
  --shadow-3: 0 10px 30px rgb(20 24 36 / 0.10);
}

@media (prefers-color-scheme: dark) {
  [data-theme="hearsay"] {
    color-scheme: dark;
    --c-bg:          #171b24;
    --c-bg-raised:   #10131a;
    --c-bg-sunken:   #1d2230;

    --c-ink:         #eef0f4;
    --c-ink-soft:    #a3a9b8;
    --c-ink-faint:   #7b8293;

    --c-line:        #2a2f3b;
    --c-line-strong: #3a4150;

    --c-accent:       #7fa2ff;
    --c-accent-hover: #9bb6ff;
    --c-accent-ink:   #0b1020;
    --c-accent-soft:  #1a2340;

    --c-second:      #b99af0;
    --c-second-soft: #2a2140;

    --c-ok:        #5fcf86;
    --c-ok-soft:   #16301f;
    --c-warn:      #f0b45a;
    --c-warn-soft: #33260f;
    --c-bad:       #ff8a80;
    --c-bad-soft:  #2e1614;

    --c-focus:     #7fa2ff;

    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-2: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
    --shadow-3: 0 10px 30px rgb(0 0 0 / 0.4);
  }
}
