:root {
  --bg: #fbfaf8;
  --fg: #1c1c1e;
  --muted: #5d5d63;
  --line: #e2e0dc;
  --accent: #1f4e79;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --fg: #ececee;
    --muted: #a4a4ab;
    --line: #2c2c31;
    --accent: #8ab8e6;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 600;
  letter-spacing: 0.02em;
}

main section { padding: 2rem 0 0.5rem; }

h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin: 1rem 0 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

p { margin: 0 0 1rem; }

.intro p { font-size: 1.1rem; color: var(--muted); }

.services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.services li p { margin: 0; color: var(--muted); }

.details { margin: 0; }

.details div {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.details dt { color: var(--muted); }
.details dd { margin: 0; }

address { font-style: normal; }

a { color: var(--accent); text-underline-offset: 0.15em; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .details div { grid-template-columns: 1fr; }
}
