/* myStackMates — shared palette, logo and footer */

:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --ink: #141413;
  --muted: #6b6a65;
  --line: #e8e6dc;
  --accent: #d97757;        /* Claude orange: "my", "Mates", highlights */
  --accent-strong: #c15f3c; /* deeper orange for filled buttons (readable white text) */
  --accent-soft: #f9e8e0;
  --my: var(--accent);
  --ring-1: #f3d5c7;
  --ring-2: #f7e2d8;
  --ring-3: #faede6;
  --ring-4: #fdf7f3;
  --shadow: 0 1px 2px rgba(60,30,15,.06), 0 8px 24px rgba(60,30,15,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1f1e1d; --surface: #2a2927; --ink: #f0eee6; --muted: #a8a69d; --line: #3a3936;
    --accent: #e08a6b; --accent-strong: #c96442; --accent-soft: #3d2a22;
    --ring-1: #5a3527; --ring-2: #4a2d22; --ring-3: #3b261e; --ring-4: #2e211b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  --bg: #1f1e1d; --surface: #2a2927; --ink: #f0eee6; --muted: #a8a69d; --line: #3a3936;
  --accent: #e08a6b; --accent-strong: #c96442; --accent-soft: #3d2a22;
  --ring-1: #5a3527; --ring-2: #4a2d22; --ring-3: #3b261e; --ring-4: #2e211b;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, sans-serif; }
a { color: inherit; }

/* Logo: a hand-written "my" leaning into the S, then Stack / Mates */
.brandmark { white-space: nowrap; display: inline-flex; align-items: baseline; font: 650 34px/1 Fraunces, Georgia, serif;
             letter-spacing: -.025em; padding-left: .1em; text-decoration: none; }
.brandmark .my { position: relative; z-index: 1; color: var(--my); font: 400 1.3em/1 "Dancing Script", cursive; letter-spacing: 0;
                 transform: rotate(-8deg) translateY(.03em); margin-right: -.06em; }
.brandmark .stack { color: var(--ink); }
.brandmark .mates { color: var(--accent); }

/* Footer */
.site-footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: grid; gap: 8px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
