/* Shared styling for the standalone static pages (/about, /contact, /privacy).
   These are plain HTML rather than SPA routes so their text is in the raw
   response for crawlers and agents, with no JavaScript required to read them. */

:root {
  color-scheme: light;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-hover: 150ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #111;
  font-family: 'Instrument Serif', Georgia, serif;
  padding: 5rem 2rem 6rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

main {
  max-width: 38rem;
  margin: 0 auto;
}

.eyebrow {
  font-family: sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #999;
  margin-bottom: 1.25rem;
  display: block;
}

h1 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

h2 {
  font-family: sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #999;
  margin: 3rem 0 1rem;
}

p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 1.1rem;
}

ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

li {
  font-family: sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}

a {
  color: #111;
  text-underline-offset: 3px;
  transition: opacity var(--dur-hover) var(--ease-out);
}

a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: 0.6;
  }
}

.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-family: sans-serif;
  font-size: 0.8rem;
  color: #888;
}

.footer a {
  color: #666;
}

@media (max-width: 640px) {
  body {
    padding: 3.5rem 1.5rem 4rem;
  }

  h1 {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition-duration: 1ms;
  }
}
