:root {
  color: #1e293b;
  background: #f7f9fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f7f9fb;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f7f9fb;
  -webkit-font-smoothing: antialiased;
}

.accent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 6px;
}

.accent span:nth-child(1) {
  background: #0284c7;
}

.accent span:nth-child(2) {
  background: #10b981;
}

.accent span:nth-child(3) {
  background: #f43f5e;
}

.site-header,
main,
.footer-content {
  width: min(100% - 48px, 896px);
  margin-inline: auto;
}

.site-header {
  padding-block: 58px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  flex: 0 0 auto;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: #0284c7;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

main {
  padding-bottom: 112px;
}

article {
  border-top: 1px solid #cbd5e1;
  padding-top: 54px;
}

.eyebrow {
  margin-bottom: 20px;
  color: #be123c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 768px;
  color: #020617;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

.message {
  max-width: 768px;
  margin-top: 40px;
  color: #475569;
  font-size: 20px;
  line-height: 1.8;
}

.message p + p {
  margin-top: 28px;
}

.message .lead {
  color: #0f172a;
  font-weight: 600;
}

.message .farewell {
  padding-top: 12px;
  color: #0369a1;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

footer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header,
  main,
  .footer-content {
    width: min(100% - 40px, 896px);
  }

  .site-header {
    padding-block: 42px 38px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: 38px;
  }

  article {
    padding-top: 40px;
  }

  h2 {
    font-size: 38px;
  }

  .message {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.75;
  }

  .message .farewell {
    font-size: 26px;
  }

  main {
    padding-bottom: 80px;
  }

  .footer-content {
    flex-direction: column;
    gap: 4px;
  }
}
