:root {
  color-scheme: light;
  --page: #f6f7f2;
  --surface: #ffffff;
  --ink: #17211f;
  --muted: #5f6a66;
  --line: #d9ded6;
  --green: #153c38;
  --teal: #2f7c82;
  --blue: #294c7a;
  --amber: #b9742d;
  --shadow: 0 24px 70px rgba(35, 48, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 60, 56, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(41, 76, 122, 0.04) 1px, transparent 1px),
    var(--page);
  background-size: 88px 88px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 20px;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 60, 56, 0.16);
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 188px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 56px;
  padding: 48px 0 56px;
}

.intro {
  max-width: 720px;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--green);
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #253431;
  font-size: 1.28rem;
  line-height: 1.55;
}

.supporting {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-mark {
  justify-self: end;
  width: min(34vw, 260px);
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 24px 44px rgba(21, 60, 56, 0.16));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(21, 60, 56, 0.16);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .page-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
    padding-top: 26px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3rem;
  }

  .lead {
    font-size: 1.14rem;
  }

  .hero-mark {
    justify-self: start;
    width: 180px;
  }
}

@media (max-width: 540px) {
  .site-header,
  .site-footer,
  .page-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .brand {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.42rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark,
  .intro {
    animation: settle 520ms ease-out both;
  }

  .hero-mark {
    animation-delay: 90ms;
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
