:root {
  --color-background: #ffffff;
  --color-surface: #f5f5f5;
  --color-text: #1a1a1a;
  --color-muted: #5d5d5d;
  --color-border: #d8d8d8;
  --color-link: #174ea6;
  --content-width: 70rem;
  --section-spacing: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--color-link);
}

a:hover {
  text-decoration-thickness: 0.125rem;
}

a:focus-visible {
  outline: 0.1875rem solid currentColor;
  outline-offset: 0.1875rem;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--color-text);
  color: var(--color-background);
  transform: translateY(-200%);
}

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

.site-header {
  border-bottom: 0.0625rem solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 2rem;
}

.site-name {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.section {
  padding-block: var(--section-spacing);
  scroll-margin-top: 1rem;
}

.section + .section {
  border-top: 0.0625rem solid var(--color-border);
}

.hero {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.hero__eyebrow {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__summary {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.section__intro,
.prose {
  max-width: 46rem;
}

.contact-list,
.company-details {
  padding: 0;
  list-style: none;
}

.contact-list li + li,
.company-details li + li {
  margin-top: 0.5rem;
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 0.0625rem solid var(--color-border);
  background: var(--color-surface);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 2rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

.noscript-message {
  margin: 0;
  padding: 1rem;
  background: #fff3cd;
  text-align: center;
}

@media (max-width: 42rem) {
  :root {
    --section-spacing: 3.5rem;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
