:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #2b59c3;
  --border: #e2e2e2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --fg: #e8e8e8;
    --muted: #9a9a9a;
    --accent: #7ea2f2;
    --border: #2c2c2c;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 3rem 1.25rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.15rem;
}

a {
  color: var(--accent);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.presences {
  padding-left: 1.25rem;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

/* -- contact form -- */

.contact {
  display: grid;
  gap: 0.35rem;
}

.contact label {
  margin-top: 0.75rem;
  font-weight: 600;
}

.contact .optional {
  font-weight: normal;
  color: var(--muted);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.contact input:focus,
.contact textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact textarea {
  resize: vertical;
}

.contact button {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.contact .note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.seal {
  margin-top: 2rem;
  font-size: 0.8rem;
}

.seal a {
  color: var(--muted);
}
