/* Navy & Marigold for the main site only.
   Linked from the homepage, VIP Pricing, scavenger, and embed pages.
   Member bio pages do not load this file, so they keep the paper palette. */

body.site-shell {
  --paper: #F6F7FA;
  --paper-2: #E6E9F0;
  --ink: #14213D;
  --ink-2: #4B5670;
  --rule: #C9CFDC;
  --accent: #F2A93B;
  --accent-ink: #14213D;
  --accent-text: #8F5400;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  body.site-shell:not([data-theme="light"]) {
    --paper: #0E1526;
    --paper-2: #172036;
    --ink: #EEF1F7;
    --ink-2: #A7B0C4;
    --rule: #2A3550;
    --accent: #F5B54E;
    --accent-ink: #14213D;
    --accent-text: #F5B54E;
    color-scheme: dark;
  }
}

body.site-shell[data-theme="dark"] {
  --paper: #0E1526;
  --paper-2: #172036;
  --ink: #EEF1F7;
  --ink-2: #A7B0C4;
  --rule: #2A3550;
  --accent: #F5B54E;
  --accent-ink: #14213D;
  --accent-text: #F5B54E;
  color-scheme: dark;
}

body.site-shell .fp-wrap {
  --fp-paper: var(--paper);
  --fp-ink: var(--ink);
  --fp-ink-soft: var(--ink-2);
  --fp-rule: var(--ink);
  --fp-accent: var(--accent-text);
  --fp-card-bg: var(--paper-2);
  --fp-card-border: var(--rule);
  background: var(--paper);
  color: var(--ink);
}

body.site-shell .lyknss-mark {
  --lyknss-ring: #14213D;
  --lyknss-person: #F2A93B;
}

@media (prefers-color-scheme: dark) {
  body.site-shell:not([data-theme="light"]) .lyknss-mark {
    --lyknss-ring: #EEF1F7;
    --lyknss-person: #F5B54E;
  }
}

body.site-shell[data-theme="dark"] .lyknss-mark {
  --lyknss-ring: #EEF1F7;
  --lyknss-person: #F5B54E;
}

body.site-shell :focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

body.site-shell .fp-rule-thin {
  border-top-color: var(--rule);
}

body.site-shell .hp-issue,
body.site-shell .hp-close {
  border-bottom-color: var(--rule);
}

/* chrome.js injects these with the old paper palette. Higher specificity
   keeps bios on that palette and only recolors the main site. */
body.site-shell .fp-site-foot {
  color: var(--ink-2);
}

body.site-shell .fp-site-foot a {
  color: var(--accent-text);
}

body.site-shell .fp-nav a {
  color: var(--ink);
  text-decoration: none;
}

body.site-shell .fp-nav a:hover,
body.site-shell .fp-byline a,
body.site-shell .fp-toc a,
body.site-shell .hp-foot a {
  color: var(--accent-text);
}
