:root {
  --page: #f4f6f4;
  --surface: #ffffff;
  --ink: #1f2623;
  --muted: #64716a;
  --line: #d9e0dc;
  --line-strong: #c6d0cb;
  --accent: #1f6b61;
  --blue: #2f7491;
  --amber: #b26d22;
  --soft: #eaf0ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
main:focus-visible {
  outline: 3px solid rgba(178, 109, 34, 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 12px 30px rgba(29, 43, 36, 0.12);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.site-header,
.simple-header {
  padding-block: 1rem 2.5rem;
}

.simple-nav,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.simple-nav {
  min-height: 3rem;
}

.site-footer nav,
.source-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.back-link,
.site-footer a,
.source-links a {
  color: var(--accent);
  font-weight: 650;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.page-intro {
  margin-top: 3rem;
}

.page-intro {
  max-inline-size: 46rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: 2.65rem;
  font-weight: 780;
}

.page-intro p,
.page-lead {
  max-inline-size: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-list {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
}

.service-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.service-item[href]:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(29, 43, 36, 0.08);
}

.service-item-static {
  color: var(--muted);
}

.service-thumb {
  inline-size: 168px;
  block-size: 104px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  object-fit: cover;
}

.service-copy {
  min-width: 0;
}

.service-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.service-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 760;
}

.service-copy p {
  max-inline-size: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

.status {
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  font-size: 0.76rem;
  font-weight: 760;
}

.status.private {
  background: #edf0ee;
  color: #46514c;
}

.status.public {
  background: #dff0eb;
  color: #16554d;
}

.status.planned {
  background: #f5eadc;
  color: #76511f;
}

.open-label {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.prose-block h2 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.prose-block p,
.prose-block address {
  max-inline-size: 72ch;
}

.prose-block p:last-child,
.prose-block address:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.legal-page {
  background: var(--page);
}

.simple-nav {
  margin-bottom: 3rem;
}

.simple-header h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.legal-content {
  display: grid;
  gap: 1rem;
  padding-bottom: 4rem;
}

address {
  font-style: normal;
}

.error-page .simple-header {
  min-height: 100svh;
  display: grid;
  align-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 0.95rem;
  font-weight: 730;
  text-decoration: none;
}

.button svg {
  inline-size: 1rem;
  block-size: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 1.25rem, 980px);
  }

  .simple-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-intro {
    margin-top: 2.25rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .service-item {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
  }

  .service-thumb {
    inline-size: 112px;
    block-size: 78px;
  }

  .open-label {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .service-item {
    grid-template-columns: 1fr;
  }

  .service-thumb {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 16 / 9;
  }

  .open-label {
    grid-column: auto;
  }
}
