:root {
  color-scheme: light;
  --ink: #151517;
  --muted: #686b70;
  --line: #e8e8e8;
  --soft: #f5f6f4;
  --white: #ffffff;
  --accent: #2f6f5e;
  --accent-soft: #e7f1ed;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header,
.site-footer {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 10px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(220px, 38vw, 420px);
  height: auto;
}

.site-main {
  width: 100%;
  min-width: 0;
  display: grid;
  overflow: hidden;
}

.intro {
  width: 100%;
  min-width: 0;
  padding: clamp(34px, 7vw, 78px) 0 clamp(34px, 7vw, 72px);
  overflow: hidden;
}

.lede {
  width: calc(100% - 40px);
  max-width: 720px;
  margin: 0 auto clamp(28px, 5vw, 48px);
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  text-align: center;
}

.marquee {
  width: 100%;
  min-width: 0;
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(18px, 4vw, 34px) 0;
  animation: marquee 24s linear infinite;
  will-change: transform;
}

.marquee-track span {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.marquee-track span:nth-child(4n + 2),
.marquee-track span:nth-child(4n + 4) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.cta {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: clamp(26px, 4vw, 42px) auto 0;
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.services {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.services article {
  min-height: 210px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
}

.services span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.services h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.proof {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto clamp(34px, 7vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof p {
  margin: 0;
  padding: 18px 20px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}

address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.5;
}

address strong {
  color: var(--ink);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    transform: translateX(0);
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .lede,
  .cta,
  .services,
  .proof {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-top: 22px;
  }

  .brand img {
    width: min(100%, 300px);
  }

  .services,
  .proof {
    grid-template-columns: 1fr;
  }

  .services article {
    min-height: 0;
  }

  address {
    display: grid;
    gap: 2px;
  }
}
