:root {
  --bg: #f8f7f3;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #1f6f66;
  --line: #dde3ea;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fdfcf8 0%, var(--bg) 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
  border-block: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.5rem;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.hero {
  padding-top: 6rem;
  padding-bottom: 5.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.button {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.04);
}

.service-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.1rem 1rem;
}

.simple-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.simple-list li + li {
  margin-top: 0.5rem;
}

.contact-line {
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 85%, var(--bg));
}

.footer-inner {
  padding: 2rem 0;
}

.footer-inner p {
  margin: 0.25rem 0;
  color: var(--muted);
}

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

.site-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
