* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  color: #e8e8e8;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
}

.landing {
  width: min(100% - 40px, 820px);
  margin: 0 0 0 max(20px, calc((100% - 1220px) / 2));
}

.title-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.title-block {
  flex: 0 0 42%;
  background: linear-gradient(90deg, rgba(57, 57, 59, 0) 0%, #29292b 72%, #39393b 100%);
}

h1 {
  margin: 0;
  color: #e8e8e8;
  font-size: clamp(4rem, 11.5vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.description {
  margin-left: 42%;
  margin-top: 36px;
  margin-bottom: 0;
  color: #929292;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 42%;
  margin-top: 44px;
}

.actions a {
  display: inline-block;
  min-width: 145px;
  padding: 14px 18px;
  border: 0;
  border-radius: 3px;
  outline: 1px solid #454545;
  background: rgb(18, 18, 18);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.actions a:first-child {
  background: #e8e8e8;
  color: #101010;
}

.actions a:hover {
  background-color: rgb(38, 38, 38);
  transform: translateY(-1px);
}

.actions a:first-child:hover {
  background-color: #fff;
}

.site-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid #292929;
  color: #777;
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: #888;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e8e8e8;
}

@media (max-width: 600px) {
  .landing {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  .title-block {
    flex-basis: 0;
  }

  h1 {
    font-size: clamp(4rem, 17vw, 6rem);
  }

  .description,
  .actions {
    margin-left: 0;
  }

  .description {
    margin-top: 28px;
  }

  .actions {
    margin-top: 30px;
  }

  .actions a {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}
