:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --ink: #101515;
  --muted: #59635f;
  --line: #d8dfdc;
  --accent: #173c33;
  --link: #0d5f9c;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

main {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

p,
h1,
h2,
ul {
  margin: 0;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.site-header {
  min-height: 72px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

nav,
.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 56px;
  align-items: center;
  padding: 92px 0 86px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  font-weight: 720;
  line-height: 0.94;
}

.hero-copy > p:last-child {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-icon {
  justify-self: end;
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.site-footer {
  padding-top: 22px;
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  main {
    width: min(100% - 28px, 980px);
    padding-top: 18px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 58px 0 52px;
  }

  .hero-icon {
    justify-self: start;
    width: min(68vw, 220px);
  }

}
