/* Releia site — minimal, SSI-inspired.
   Explicitly use Helvetica (not Helvetica Neue). */

/* Site + page accent palette
   - Keep text black.
   - Use color only as a subtle accent: underline, focus ring, and a tiny title marker. */
:root {
  --ink: #000000;
  --paper: #ffffff;

  /* Website accent colors */
  --site-accent-1: #ffa102;
  --site-accent-2: #d67101;
  --site-accent-3: #814401;
  --site-accent-4: #582c06;

  /* Default accents (fallback if a page has no theme class) */
  --accent-1: var(--site-accent-1);
  --accent-2: var(--site-accent-2);
  --accent-3: var(--site-accent-3);
  --accent-4: var(--site-accent-4);
}

/* Page themes */
body.theme-home {
  --accent-1: #d67e7c;
  --accent-2: #845446;
  --accent-3: #a74a43;
  --accent-4: #845446;
}

body.theme-privacy {
  --accent-1: #a46ead;
  --accent-2: #270e56;
  --accent-3: #683783;
  --accent-4: #270e56;
}

body.theme-support {
  --accent-1: #c2d36c;
  --accent-2: #6b9c2d;
  --accent-3: #2f611d;
  --accent-4: #2f611d;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

#maincontent {
  max-width: 640px;
  margin: 70px auto 48px;
  padding: 0 18px;
}

h2 {
  margin: 0 0 2px 0;
  font-size: 20px;
  font-weight: 700;
}

/* Tiny low-key accent marker */
h2::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  background: var(--accent-1);
  border-radius: 1px;
  vertical-align: middle;
}

p {
  margin: 12px 0;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--accent-1);
}

a:hover {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent-2);
}

a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.footerlinks {
  margin-top: 22px;
}

.footerlinks a {
  margin-right: 12px;
  white-space: nowrap;
}

.easter-egg {
  margin-top: 22px;
  white-space: pre-wrap;
  font-family: inherit;
  color: var(--accent-4);
  font-size: 14px;
}

/* Tiny “retro terminal-ish” touch, now themed */
::selection {
  background: var(--accent-3);
  color: #ffffff;
}
