:root {
  color-scheme: light;
  --ink: #142d35;
  --muted: #536268;
  --line: #d9d2c5;
  --paper: #fbfaf6;
  --accent: #9c7a22;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  line-height: 1.65;
}

main {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

header,
section,
footer {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

header {
  padding-top: 12px;
}

.eyebrow {
  color: var(--accent);
  font: 700 0.8rem/1.2 Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.08rem;
}

p,
li,
dd,
dt,
td,
th {
  font-size: 1.03rem;
}

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

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.15rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

dl {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) 1fr;
  gap: 10px 18px;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1eee7;
}

.nav-list,
.service-list {
  padding-left: 20px;
}

.contact {
  background: #f1eee7;
  border: 1px solid var(--line);
  padding: 18px;
}

@media (max-width: 640px) {
  dl {
    grid-template-columns: 1fr;
  }
}
