/* Mercy Direct Online — local home server
   System fonts only. No tracking. No remote assets. */

:root {
  --bg: #f3efe6;
  --ink: #1b1916;
  --muted: #5e5850;
  --line: #d5cec2;
  --focus: #1b1916;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 12vh 8vw 10vh;
}

.mark {
  margin: 0 0 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.mark a {
  color: inherit;
  text-decoration: none;
}

.mark a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

h1 {
  margin: 0 0 1.25rem;
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
  max-width: 32rem;
}

.places {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 2.5rem 0 3.5rem;
}

.places a {
  color: var(--ink);
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  font-size: 1.85rem;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.05em;
}

.places a:hover {
  border-bottom-width: 2px;
}

.note,
.status,
.back {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.note { margin-top: 0; }
.status { margin-top: 0.75rem; }

.back {
  margin: 3rem 0 0;
}

a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 2px; }

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact a:hover {
  border-bottom-color: var(--ink);
}

a:focus-visible,
.places a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  html { font-size: 20px; }
  h1 { font-size: 2rem; }
  .places a { font-size: 1.55rem; }
  .page { padding-top: 10vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
